/debug[+ | -]
Use this option to create debug builds. If /debug (or /debug+) is not specified, you will not be able to debug the output file of your program.
By default, debugging information is not emitted (/debug-). To emit debugging information, specify /debug or /debug+.
Place debugging information in output file app.exe
:
vbc /debug /out:app.exe test.vb
Visual Basic Compiler Options | /bugreport