Alfresco Repository Javascript Debugging
Start the tomcat in debug mode (ie)
c:\alfresco\tomcat\bin>catalina.bat jpda start
Enable javascript debugging in alfresco
repository
Now you will get a new javascript debugging
window to debug the javascript.
I hope this helps someone.