Skip to content

Is possible to specify the exe to be used according to the script? #156

Answered by zero-plusplus
Momoshikin asked this question in Q&A
Discussion options

You must be logged in to vote

A common solution to this issue is to create as many configurations as there are files with the program changed.

{
  "name": "AutoHotkey Debugger: x",
  "type": "autohotkey",
  "request": "launch",
  "program": "path/to/x.ahk",
  "usePerfTips": true,
  "useAutoJumpToError": true,
  "useDebugDirective": true
},
{
  "name": "AutoHotkey Debugger: y",
  "type": "autohotkey",
  "request": "launch",
  "program": "path/to/y.ahk",
  "extends": "AutoHotkey Debugger: x",
},
{
  "name": "AutoHotkey Debugger_z",
  "type": "autohotkey",
  "request": "launch",
  "program": "path/to/z.ahk",
  "extends": "AutoHotkey Debugger: x",
}

By using the extends attribute, common attributes can be used in differe…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Momoshikin
Comment options

@zero-plusplus
Comment options

Answer selected by zero-plusplus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants