zero-plusplus / vscode-autohotkey-debug

https://marketplace.visualstudio.com/items?itemName=zero-plusplus.vscode-autohotkey-debug
MIT License
50 stars 4 forks source link

how to debug as administrator privilege? #300

Open BH2WFR opened 11 months ago

BH2WFR commented 11 months ago

Good Evening, I have code like this in a v1 script to check if script has admin privilege, if not, apply admin privilege. But when I run that, the debugger automatically stops. So I need to Run As Admin, how can I do that?

zero-plusplus commented 11 months ago

Running vscode with administrative privileges solves this problem.

I guess I forgot to mention this in the wiki when I received the same report earlier. I am currently working on another extension that supports AutoHotkey, so it will be a little while before I can add it to the wiki.