I need launch.json to always run/debug my main AHK file (MyHotkeys.ahk) even when I am working on the other AHK files which are included in the main script.
Here is what I'vd done sofar:
Code: Select all
{
"version": "0.2.0",
"configurations": [
{
"type": "ahk2",
"request": "launch",
"name": "Debug AHK",
"program": "${workspaceFolder}/MyHotkeys.ahk",
"runtime": "C:\\Program Files\\AutoHotkey\\v2\\AutoHotkey64.exe",
"stopOnEntry": true
}
]
}
AutoHotkey v2 Language Support
vscode-autohotkey-debug
https: //marketplace.visualstudio.com/items?itemName=thqby.vscode-autohotkey2-lsp
https: //marketplace.visualstudio.com/items?itemName=zero-plusplus.vscode-autohotkey-debug
Appreciate any help!
[Mod edit: Moved topic from AHK v2 help.]