Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015 Asp.net 5.0 Dynamic development does not work in debug mode

So I installed VS2015 CTP6. In the blog of Scott it advertises:

Dynamic Development. In Visual Studio 2015, we take advantage of dynamic compilation to provide a streamlined developer experience. You no longer have to compile your application every time you want to see a change. Instead, just (1) edit the code, (2) save your changes, (3) refresh the browser, and then (4) see your change automatically appear.

Well, if I do that visual studio kills the browser on the save action. What am I doing wrong?

Created a new project, asp.net 5 and switched runtime to coreclr. Tried IIS express & "web"..

like image 718
Flores Avatar asked Feb 27 '15 12:02

Flores


People also ask

How do I connect debugger to remote IIS?

Select Configure remote debugging to configure the firewall and start the remote debugger. When configuration is complete, the Remote Debugger window appears. The remote debugger is now waiting for a connection. Use the server name and port number shown to set the remote connection configuration in Visual Studio.

How do I enable debugging in web config?

In the Web. config file, locate the compilation element. Debugging is enabled when the debug attribute in the compilation element is set to true.


1 Answers

The new edit & continue functionality for Roslyn currently does not work with the debugger attached. This will be fixed in a future release. You can start without debugging (ctrl + F5) if you want edit & continue support.

like image 162
Malgaur Avatar answered Nov 06 '22 14:11

Malgaur