vscode: Command Variable Not Supported In launch.json...

hey there 👋

i’m trying to use command variables (e.g. ${command:CommandID}, docs) to drive a number of settings in my launch.json file. everything works fine except one field - in this case executable as defined by the cortex-debug (link) extension. instead of executing the command, the raw value (${command:extension.getDebuggerOpenOCDPath}) is used.

i’m running: macOS: 10.13.6 (high sierra) VSCode: 1.29.1 Cortex Debug: 0.1.21

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 19 (12 by maintainers)

Most upvoted comments

The version doesn’t matter at all. Variable substitution just works on strings. It knows nothing about Json.