* Shutdown the debuggee and the debug adapter (or disconnect if in server mode).
()
| 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 |
no test coverage detected