how to debug vbs make sure your have install some VS in your OS to support Just-In-Time debugger cscript -d -x ExecuteTP.vbs MyArg1 MyArg2start to connect debugger set breakpoint and enjoy