I'd like to debug a vbscript with Visual Studio 2017 Community Edition and followed the steps mentioned here for VS2015:
Video
I entered
cscript.exe /x foo.vbs
in the commandline, but no debugger starts. Is there a problem with the 2017th version of VS or are there some steps (e.g. configuration steps in VS) which are not shown in the video?
Edit:
I tried cscript.exe //X foo.vbs
, cscript.exe foo.vbs //X
, cscript.exe //X //D foo.vbs
and cscript.exe foo.vbs //X //D
too
Thanks steff
Neither of those solutions worked for me. Found a workaround on MSDN
Please run your VS2017 as the admin, and then enable the script option under TOOLS->Options->Debugging->Just-In-Time, and then re-debug it again.
Even if I didn't use the VS2017 community version, but I get the same issue, I found that it was related to the JIT debugging in my side using VS2017 Enterprise version and it works well after I enable it:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With