in src/main/java/org/apache/sling/scripting/javascript/helper/SlingContextFactory.java [108:122]
private void initDebugger(Context cx) {
if (isDebugging()) {
try {
if (debugger == null) {
debugger = new SlingRhinoDebugger(
getClass().getSimpleName());
debugger.setScopeProvider(scopeProvider);
debugger.attachTo(this);
}
} catch (Exception e) {
log.warn("initDebugger: Failed setting up the Rhino debugger",
e);
}
}
}