What are you invoking a batch file? Why don't you just do everything in VBSCRIPT?
Debugging your vbscript can be done with a debugger by using the /D /X parameters
cscript /d /x file.vbs
wscript /d /x file.vbs
Debugging batch files is a nightmare. Here is some help for debugging batch files: http://www.robvanderwoude.com/battech_debugging.php