提交 af361490 编写于 作者: A Andre Weinand

throw if DA cannot be created

上级 bf5b0585
......@@ -49,10 +49,8 @@ export class Debugger implements IDebugger {
return new SocketDebugAdapter(adapterDescriptor);
case 'executable':
return new ExecutableDebugAdapter(adapterDescriptor, this.type, outputService);
case 'implementation':
return undefined; // seeing 'direct' here is an error
default:
return undefined;
throw new Error('Cannot create debug adapter.');
}
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册