提交 d17d8370 编写于 作者: I isidor

debug: do not report errors from configurationDone

fixes #82354
上级 826a5ca4
......@@ -701,14 +701,11 @@ export class DebugSession implements IDebugSession {
aria.status(nls.localize('debuggingStarted', "Debugging started."));
const sendConfigurationDone = () => {
if (this.raw && this.raw.capabilities.supportsConfigurationDoneRequest) {
return this.raw.configurationDone().then(undefined, e => {
return this.raw.configurationDone().then(undefined, () => {
// Disconnect the debug session on configuration done error #10596
if (this.raw) {
this.raw.disconnect();
}
if (e.command !== 'canceled' && e.message !== 'canceled') {
this.notificationService.error(e);
}
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册