extracted the processing.js customization from debugger.js into a processing-delegate.ts and update debugger.js to use a delegate