Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remote debug in visual studio 2017 to a previously deployed application built in debug mode?

We currently have our builds running through Azure DevOps. For our dev branch we are building the application in debug mode. We can establish a connection to the machine remotely; however, when attaching the process we never get the breakpoints to turn read. Remote debugging for us works if we publish then debug; however, this is not what is wanted. We want the ability to debug from an already existing build. How do we do this?

like image 578
Demodave Avatar asked Nov 06 '22 20:11

Demodave


1 Answers

Consider to use the Index Sources & Publish Symbols build task. Here is a detailed instruction: Debugging deployed Azure Web Apps with VSTS Symbol Server

like image 105
Shamrai Aleksander Avatar answered Nov 15 '22 06:11

Shamrai Aleksander