Now open Your ASP project in Visual Studio and set the local IIS as Web server:
Ok, then its time to debug. Open Your ASP-page in Windows Explorer. Then attach the VS2008 debugger to the IIS hosting process, i.e. select Debug->Attach to Process... and attach to the dllhost.exe if running on IIS6 or w3wp.exe if running on IIS7.
If there are multiple processes, pick the one with Script type.
The Attach to: should be set to Script code.
(The Show processes from all users must be checked to see the hosting processes)
Add some breakpoints, hit the F5 to reload the web-page and now should the debugger stop at your breakpoints.
Important: Visual Studio often crashes when ending a debug-session. If that happens, kill the dllhost.exe/w3wp.exe to avoid unpredictable errors.