Serpen / VBS-VSCode

VSCode VBScript language extension
https://marketplace.visualstudio.com/items?itemName=Serpen.vbsvscode
MIT License
23 stars 12 forks source link

Debugging #4

Open Serpen opened 3 years ago

Serpen commented 3 years ago

Debugging support would be a create feature but a lot of work to do, and maybe impossible due to some limitations

Active Debug Interface

https://github.com/Luncher91/VBScript-vscode/issues/3 https://github.com/Luncher91/ActivDbgNET

MS Clearskript

https://github.com/microsoft/ClearScript

sansbacher commented 3 years ago

I don't know if it helps - it may not for adding VBScript/VBS debug support to VSCode (it may?), BUT if someone just needs to debug a VBScript: You can install the old MS Script Debugger from this page, and maybe others And while you have to use the 32-bit cscript.exe or wscript.exe Scripting Hosts, as per Stack Exchange .. it works! (at least with Windows 10 x64, and doesn't conflict with either Visual Studio 2017 or VSCode) %windir%\SysWOW64\cscript.exe /X example-script.vbs Will popup the debugger once installed.

Maybe it's possible to hook into the MS Script Debugger and use it from VSCode? Or maybe not.

Anyway, thanks for the VSCode Extension! --Saul