Powered By Blogger

Thursday, August 1, 2013

Debug vbscript using Visual studio

From command prompt we can call vbs to debug the code.
Follow the steps.

1. Open cmd.exe and call vbs in cscript.exe


2. Select Visual Studio 2010 option and click on Yes.



3. Your vbs will open in Visual studio editor, and you can use Visual studio Dubugging options for VBS also.
eg: using F11, F10, applying breakpoints etc.


No comments: