Jerominator
Jerominator

Reputation: 33

Trying to debug step through custom build configuration

I defined some custom build configurations and various web.config transforms to handle local conditions. Some of these are meant to run locally and be debugged. However, now stepping through code is disabled when these configurations are selected. I have turned on "Enable Just My Code" and for the project I'm running I've went into the Build properties and checked "Define DEBUG constant". "Optimize Code" is not checked.

Upvotes: 0

Views: 320

Answers (1)

Jerominator
Jerominator

Reputation: 33

Go to your project properties, to the "Build" tab, ensure the build configuration you want to step through is selected in the dropdown at the top of the screen, click the "Advanced" button - In the dropdown labeled "Debugging Information" select "Full".

If you have enabled multiple start up projects for your solution, you'll need to repeat the steps for each project you wish to step through.

Upvotes: 1

Related Questions