Added stopping debugging when debugger server is detached/stopped.