cancel
Showing results for 
Search instead for 
Did you mean: 

javascript debugger

ggoutham
Champ in-the-making
Champ in-the-making
Hi all,
Iam using alfresco community 4.2.a and i have enabled the javascript debugger using the
url: http://localhost:8060/alfresco/service/api/javascript/debugger, but the debugger window is not opening up,
But it is showing that it is enabled

   Alfresco Javascript Debugger
Alfresco Community v4.2.0 (4428)
Currently enabled. 


Like above,

Anybody can help me to open the debugger tool

Thanks in advance
Goutham
13 REPLIES 13

Hi ggoutham,
What are those environment variables?
Have you configured them as system environment variables or user  environment variables?
Are you starting the alfresco service in debug mode or from the service console?

ggoutham
Champ in-the-making
Champ in-the-making
Hi Murali,
environment variables are catalina_opts,jpda_address,jpda_transport i have set these variables using the link which you have given from command prompt, and i am starting alfresco using jpda start only,

Regards,
Goutham

muralidharand
Star Contributor
Star Contributor
Hi Goutham,
These variables are used to start the alfresco in debug mode.  If you close the command prompt window, these environment variables will be cleared.
Are you trying to start alfresco in debug mode and using service also?

tusharpatel88
Champ in-the-making
Champ in-the-making
I worked on Alfresco 4.2 below work for me.

1) Go on below link
<a>http://localhost:8080/alfresco/service/api/javascript/debugger</a>

2) It will ask username and password.

3) Enable the logger.

4) It will show logger window.

5) Now again execute any script.

6) Now you can debug in logger window script line by line.