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

mlauer
Champ in-the-making
Champ in-the-making
any error messages in catalina.out?

java.awt.headless=false set in JAVA_OPTS?

best regards
ml

ggoutham
Champ in-the-making
Champ in-the-making
Thanks for reply, But where can i do that can you provide some more information

Regards
Goutham

lista
Star Contributor
Star Contributor
I can't be 100% sure since I haven't tried the latest version of Alfresco, but until recently debugger did not work if you started Alfresco as a service, and it did not work on headless servers.

ggoutham
Champ in-the-making
Champ in-the-making
Hi thanks for your reply,
I am not using headless server, and i have installed through the exe file, so it is registered as a service,
but how can i enable my debugger in this case,
Please help anybody

Hey that works very fine,
Really much appreciated for your reply
Thanks Murali

Regards,
Goutham

ggoutham
Champ in-the-making
Champ in-the-making
Hi Murali,
Javascript debugger is working fine but debugging remotely from eclipse  is not working
It is showing a error like
Failed to connect to remote VM. Connection refused.
Connection refused: connect

Regards,
Goutham

Hi ggoutham,
There could be two reasons.

1) You're not started tomcat in debug mode.
2) In eclipse, the debugger is already attached

Please check your debugging configuration in Eclipse and tomcat debug parameters.



ggoutham
Champ in-the-making
Champ in-the-making
Hi murali,
When iam starting the alfresco in the log showing errors like
java.lang.outofmemoryError PermGen space
i think these errors are occuring because of the environment variables set yesterday.
Can you help me please

Goutham