microsoft / microsoft/vscode-mock-debug

Question: How to detect if `preLaunchTask` failed?

Open
#92 0 comments 1 reaction 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.