Debugging
Remember that the code is running inside the VB IDE. This means that we can use all of VB's interactive debugging features, such as setting breakpoints, stepping through code, viewing and changing the contents of variables, and even changing code while it's running. To illustrate, set a breakpoint at the WebMain method, switch to your browser, and request the script file again. You should see the VB IDE get the focus with the WebMain procedure highlighted. No more using Response.Write("...") for debugging!