Took me a while to figure this one out, but certainly useful. When you execute the command below from the CMD window. Visual Studio presents you with the option to create a new instance or to DEBUG in a running instance.
Once you have selected the instance, the file is opended with the DEBUGGER at the first line of code. If this does not happen there are problems with your code, the output errors will be in the CMD window.
cscript //X "C:\Users\v-pevers\Desktop\ABB MAN\RegisterDictionary.vbs"
Have fun !