Issue 7079: remove getDebugger and destroyDebugger