I have a vbscript that works in development but not the server.
I want to debug this, but I don't want to install visual studio on the server.
What is the most lightweight way to debug this using a debugger?
Debugging VBS Scripts in Visual StudioSwitch to DIAdem SCRIPT. Open or create a VBS file. Click Use External Debugger on the toolbar. Select a line and click Insert Breakpoint F9 on the command bar.
Use the Step Into, Step Over, and Step Out tools to step through your VBScript code one line at a time. Your project must already be in break mode, either by reaching a break point that you set earlier or by using the Break tool to manually enter break mode, before you can use these tools.
If you're referring to "classic" VBScript, i.e. .vbs
files, Microsoft has a tool available called Microsoft Script Debugger that functions more or less like a Visual Studio debugging session. It's probably your most lightweight option short of adding debug statements to the code.
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