How do I debug a stand-alone VBScript script?

后端 未结 5 1776

I have a VBScript script that takes 2 command-line arguments and does some validation. I need to debug this to see how the program is getting executed. I was trying to paste

5条回答
  •  不思量自难忘°
    2020-12-01 07:57

    Run cscript.exe for full command args, I think

    cscript //X scriptfile.vbs MyArg1 MyArg2
    

    will run the script in a debugger.

提交回复
热议问题