Debugging a custom javascript controller

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
olylak
Member II

Debugging a custom javascript controller

Jump to solution

Hi everybody,

Can anyone help me to get started with javascript debugging?

Lets assume I have completed all the steps from the following documentation: Customizing a Surf JavaScript Widget in the Document Library | Alfresco Documentation 

I'm able to debug client javascript code that is exposed to the browser.

But the question is how to debug a javascript controller documentlist-v2.get.js mention in this article?

Thanks for any help.

 

1 Solution

Accepted Solutions
douglascrp
Advanced II

Re: Debugging a custom javascript controller

Jump to solution

You can use the Javascript debugger, as described in the docs: Debugging a controller script | Alfresco Documentation 

3 Replies
douglascrp
Advanced II

Re: Debugging a custom javascript controller

Jump to solution

You can use the Javascript debugger, as described in the docs: Debugging a controller script | Alfresco Documentation 

olylak
Member II

Re: Debugging a custom javascript controller

Jump to solution

Thanks Douglas,

I saw this doc. Could you please advice how to "Invoke your web script". What is the controller URL for this particular example?

It's not clear for me how to invoke it.

Thanks.

douglascrp
Advanced II

Re: Debugging a custom javascript controller

Jump to solution

By "invoke your webscript" you can understand it as access its URL, using the right HTTP method (GET, PUT, etc).