MCPcopy
hub / github.com/microsoft/vscode-js-debug / terminate

Function terminate

src/targets/node/nodeLauncherBase.ts:184–190  ·  view source on GitHub ↗

* @inheritdoc

()

Source from the content-addressed store, hash-verified

182 * @inheritdoc
183 */
184 public async terminate(): Promise<void> {
185 if (this.program) {
186 await this.program.stop();
187 } else {
188 this.onProgramTerminated({ code: 0, killed: true });
189 }
190 }
191
192 /**
193 * Restarts the ongoing program.

Callers

nothing calls this directly

Calls 1

stopMethod · 0.65

Tested by

no test coverage detected