Skip to Content
Sitecore Cookbook for Developers
book

Sitecore Cookbook for Developers

by Yogesh Patel, Patel Y Sunderbhai
April 2016
Beginner content levelBeginner
338 pages
7h 38m
English
Packt Publishing
Content preview from Sitecore Cookbook for Developers

Debugging a Sitecore application

You might find yourself in a situation where you need to debug your custom code that is placed in a solution outside the web root, but it's getting executed inside the web root. To do this, open your solution in Visual Studio as an administrator. From the Debug menu, click on the Attach to Process menu item. This will open the Attach to Process dialog; check the Show processes from all the users checkbox, find w3wp.exe running with appropriate User Name, for example, NETWORK SERVICE or APPLICATION POOL IDENTITY, whatever you set from IIS Manager, as shown in the following image, and click on the Attach button. Set breakpoints from Visual Studio, where you want to debug your code:

While developing with Sitecore, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Azure for Developers

Hands-On Azure for Developers

Kamil Mrzygłód

Publisher Resources

ISBN: 9781784396527Supplemental Content