Debug = true/false in web.config

S

Steve Franks

Is there a way I can have my options set up so that on the production
machine debug=false is always used, but on my dev machine debug=true is
used?

Currently I do not know how to do this, because my web.config file is shared
between both dev and production. In other words if I change it in dev and
then forget to change it back before doing a Copy Web Site command then I'll
accidentially publish the debug=true config setting on the production box.
Any way around this?

Thanks,

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,772
Messages
2,569,588
Members
45,100
Latest member
MelodeeFaj
Top