Debugging a Web Service Remotely

Leave it to your customers and co-workers to find a bug after you think you delivered a clean implementation. The good news is that the ASP .NET folks thought about this and have a solution—remote debugging. The first thing you will need to do is edit the web.config file on the Web server. Under the configuration\system.web element is an element named compilation. Set the debug attribute to true to enable debugging, set it to false to disable debugging. The only thing left to do is to connect your development machine to the Web server. No extra files need to be installed to do this.

Look again at Figure 5.7. At the top of the Processes dialog is a combo box named Name. If the machine you need to connect to is ...

Get Creating and Consuming Web Services in Visual Basic® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.