You can enable Edit and Continue in the project properties. Right-click the project in Solution Explorer, select the Web tab, and select the Enable editing and continue check box.
Now you can edit your sources, but you need to pause the debugger to do this.
source
share