mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
The infamous JavaScript Debugger is now available in the Web-tier (Web-Framework):
- set this log level: log4j.logger.org.alfresco.web.scripts.AlfrescoScriptDebugger=debug - or use this webscript: [your-web-server]/slingshot/service/api/javascript/debugger The usual repo JavaScript Debugger is available here: - set this log level: log4j.logger.org.alfresco.repo.web.scripts.AlfrescoRhinoScriptDebugger=debug - or use this webscript: [your-repo-server]/alfresco/service/api/javascript/debugger You can use both debuggers at the same time if required. Rewrite of the bizare IProxy code in the javascript debugger class - which in turn fixes the bug ALFCOM-1743 where closing the JavaScript debugger window would have caused all future JavaScripts to block until the server was restarted. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9410 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -33,8 +33,8 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- Switch on debugger by setting log4j.logger.org.alfresco.repo.rhinodebugger to DEBUG -->
|
||||
<bean id="rhinoScriptDebugger" class="org.alfresco.repo.jscript.AlfrescoRhinoScriptDebugger" init-method="start"/>
|
||||
<!-- Switch on debugger by setting log4j.logger.org.alfresco.repo.web.scripts.AlfrescoRhinoScriptDebugger to DEBUG -->
|
||||
<bean id="rhinoScriptDebugger" class="org.alfresco.repo.web.scripts.AlfrescoRhinoScriptDebugger" init-method="start"/>
|
||||
|
||||
<!-- base config implementation that script extension beans extend from - for auto registration
|
||||
as a global script with the ScriptService -->
|
||||
|
Reference in New Issue
Block a user