MCPcopy Create free account
hub / github.com/WebFreak001/code-debug / quitEvent

Method quitEvent

src/mibase.ts:156–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154 }
155
156 protected quitEvent() {
157 this.quit = true;
158 this.sendEvent(new TerminatedEvent());
159
160 if (this.serverPath)
161 fs.unlink(this.serverPath, (err) => {
162 // eslint-disable-next-line no-console
163 console.error("Failed to unlink debug server");
164 });
165 }
166
167 protected launchError(err: any) {
168 this.handleMsg("stderr", "Could not start debugger process, does the program exist in filesystem?\n");

Callers 1

launchErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected