microsoft / microsoft/vscode-mock-debug

AskForProgramName command did not work

Open
#84 0 comments 0 reactions 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

If the try to edit the launch.json file and select Mock Debug: Launch completion. The AskForProgramName dit not fired even, if it's set in the package.json file.

"configurationSnippets": [
  {
    "label": "Mock Debug: Launch",
    "description": "A new configuration for 'debugging' a user selected markdown file.",
    "body": {
      "type": "mock",
      "request": "launch",
      "name": "Ask for file name",
      "program": "${command:AskForProgramName}",
      "stopOnEntry": true
    }
  }
],
"variables": {
  "AskForProgramName": "extension.mock-debug.getProgramName"
}

Or I am missing something ?

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 by reproducing the issue in launch.json using the Mock Debug: Launch completion, then inspect the package.json configurationSnippets and variables entries shown in the report. Confirm whether selecting the completion resolves AskForProgramName and whether the command fires; done means the configured command is invoked as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.