Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AskForProgramName command did not work #84

Open
A2va opened this issue Dec 16, 2022 · 0 comments
Open

AskForProgramName command did not work #84

A2va opened this issue Dec 16, 2022 · 0 comments

Comments

@A2va
Copy link

A2va commented Dec 16, 2022

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant