Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
startDebugging method in vscode still return true even when the build fails #54214
Live share extension on the host side is using the startDebugging method to launch a debug configuration remotely. As part of step it will eventually need to invoke a task to build that could fail, the problem is that the API will not report 'false' value during the invocation.
const result = await vscode.debug.startDebugging(folders ? folders : undefined, debugConfiguration);
we would like a better mechanism to know what really happen in our launch invocation.
Adding a new richer method may be better...
I have exact the same problem with the API
When was starting a Java debug session with the API
After clicking "Abort",
referenced this issue
Aug 22, 2018
After #53874 has been fixed it now becomes clear that there is another issue that prevents build errors from bubbling up to the extension API.