Set the associated debugger. @param debugger the debugger to be used on callbacks from the engine. @param contextData arbitrary object that debugger can use to store per Context data.
(Debugger debugger, Object contextData)
| 2332 | * @param contextData arbitrary object that debugger can use to store per Context data. |
| 2333 | */ |
| 2334 | public final void setDebugger(Debugger debugger, Object contextData) { |
| 2335 | if (sealed) onSealedMutation(); |
| 2336 | this.debugger = debugger; |
| 2337 | debuggerData = contextData; |
| 2338 | } |
| 2339 | |
| 2340 | /** |
| 2341 | * Return DebuggableScript instance if any associated with the script. If callable supports |