This AutoHotKey (AHK) forum post ends with suggesting there is no current way to set breakpoints for an Autohotkey script in Visual Studio Code. The post ends suggesting that Xdebug may work. Is anyone in this forum aware of any way to set breakpoints and step thru an AHK script in Visual Studio Code?
Asked
Active
Viewed 744 times
7
-
Did you ever find any further info on this? – Coldblackice Oct 14 '19 at 23:51
-
I guess someone could make a `DBGp` plug-in for VSCode. – D. Pardal Apr 13 '20 at 13:02
2 Answers
1
Bear in mind that you're referencing a 2015 post...
At this point (May 2021), VSCode is by far the best approach and the most comprehensive when it comes to debugging AHK.
Here's a guide on how to get it running and debugging in a couple of minutes.

anonymous1184
- 98
- 6
0
There are some VScode extensions for AHK. Currently the most maintained looks like: https://github.com/mark-wiemer/vscode-autohotkey-plus-plus
The Automator made recently a webinar about AHK and VSCode debugging. See https://www.the-automator.com/autohotkey-webinar-vs-code/
It looks to work nicely for simple functions. I am still struggling myself to get this work when using Libraries. (it seems to me debugging does not work in this case.)

Thierry Dalon
- 779
- 5
- 21