microsoft / vscode-debugadapter-node

Debug adapter protocol and implementation for VS Code.
Other
273 stars 79 forks source link

Add terminateRequest to the test DebugClient #196

Closed DanTup closed 6 years ago

DanTup commented 6 years ago

I think it's essentially a copy/paste of the disconnectRequest function:

// Existing
public disconnectRequest(args?: DebugProtocol.DisconnectArguments): Promise<DebugProtocol.DisconnectResponse> {
    return this.send('disconnect', args);
}

// New
public terminateRequest(args?: DebugProtocol.TerminateArguments): Promise<DebugProtocol.TerminateResponse> {
    return this.send('terminate', args);
}