How to debug a website while running IIS 7?

Posted on

How to debug a website while running IIS 7? – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about windows, iis, iis-7, .net, debugging.

I am running iis7 on my windows machine for testing purposes. Now I need to have access to the debugger so when something happens I can walk through it.

Yet when I put debug lines on my site nothing happens. So I am guessing I need more stuff setup to make debugging to work.

Everything is on the same machine. I have iis 7 on the same machine setup and I have Visual studios setup on my machine.

Solution :

Check that you have debugging enabled in your web.config.

<compilation debug="true" strict="false" explicit="true">

…and I’m assuming you’re running it through the debugger in, right?

Leave a Reply

Your email address will not be published.