microsoft / microsoft/vscode-mock-debug
Question: How to detect if `preLaunchTask` failed?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 358
- Forks
- 200
- Avg merge
- 24d 23h
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the official VS Code extension documentation and the vscode-mock-debug repository's launch flow, focusing on how preLaunchTask is invoked before debugging. Determine whether the extension API exposes task failure before activation; done means identifying a supported hook or documenting that no such API is available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100