What can I say, Server-side JavaScript Debugger? You’ve been there all along, willing to help if only you were asked, and I was too set in my ways to pay you any attention. I don’t know, maybe it was all of those Java-backed web scripts that I was hooked on. But when I needed you, I just updated log4j.properties and you came through, no questions asked:
log4j.logger.org.alfresco.repo.web.scripts.AlfrescoRhinoScriptDebugger=on
Some will say that your Swing UI is a little hard on the eyes. Ignore them. Let them print logger.log messages all day while you and I step back and forth through code with reckless abandon!
The JS debugger is your friend. You can also enable/disable via the webscript url…
/service/api/javascript/debugger
I’m sure that the server-side JavaScript debugger will forgive you. =)