microsoft / vscode-mock-debug

Starter sample for developing debug adapters for VSCode.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: How to detect if `preLaunchTask` failed?

noppej opened this issue · comments

commented

I am not sure if this is the right place to ask, but I've developed an extension, using the official docs, and this repo as an example.

One problem is that if the preLaunchTask (e.g. build before launch) gives an error, the launch process continues - with undesired consequences.

Is there any way/api I can use in the extension to catch this condition, so that I can tell the user about it before activating?

Thank you in advance.