MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / stop

Method stop

src/test/debug_client_ms.ts:144–151  ·  view source on GitHub ↗

* Shutdown the debuggee and the debug adapter (or disconnect if in server mode).

()

Source from the content-addressed store, hash-verified

142 * Shutdown the debuggee and the debug adapter (or disconnect if in server mode).
143 */
144 public stop(): Promise<void> {
145
146 return this.disconnectRequest().then(() => {
147 this.stopAdapter();
148 }).catch(() => {
149 this.stopAdapter();
150 });
151 }
152
153 public get adapterProcess(): cp.ChildProcess | undefined { return this._adapterProcess; }
154

Callers 1

createDebugClientFunction · 0.45

Calls 2

disconnectRequestMethod · 0.95
stopAdapterMethod · 0.95

Tested by

no test coverage detected