How do other people debug HTTPS sites from Visual Studio 2008? This link seems to indicate that Visual Studio's built in web server does not support HTTPS, but there must be some way to debug these sites, right? If not the integrated server, can IIS7 be set as the debugging web server?
Asked
Active
Viewed 6,037 times
1 Answers
5
Yes, you may set IIS as the debugging server by clicking Properties
on the project, (waiting patiently while it slowly loads), then go to the Web
tab and choose Use IIS Web server
instead of Use Visual Studio Development Server
.
-- Edit
More generally, to answer the question, I typically just disable SSL while debugging. It's rare that I need to test how I'm dealing with things via SSL, and depending on how I'm creating the SSL links, it can be modified pretty simply, with an #if DEBUG
.

Noon Silk
- 54,084
- 6
- 88
- 105
-
using an #if DEBUG is a good idea ... I'll give that a shot, thanks. – Beep beep Sep 10 '09 at 18:38
-
@Beepbeep, "#if DEBUG" only works if you're sure to deploy a different configuration to production – as9876 Mar 17 '15 at 16:05