7

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?

2
  • Did you ever find any further info on this? Commented Oct 14, 2019 at 23:51
  • I guess someone could make a DBGp plug-in for VSCode. Commented Apr 13, 2020 at 13:02

2 Answers 2

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.

Sign up to request clarification or add additional context in comments.

Comments

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.)

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.