Click here to Skip to main content
15,882,055 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I am not able to debug the Sharepoint project in Visual studio solution even after attaching W3workerprocess. please help me on this.

What I have tried:

I cheked project properties, website URL is also correct. 
Attachched correct workerprocess.but still i am not able to debug the solution
Posted
Updated 5-Feb-17 18:13pm

1 solution

Locate and open the target SharePoint application's Web.config file. By default, it is located in C:\Inetpub\wwwroot\wss\VirtualDirectories\80.
Find the following line of code and change the debug attribute to true.
XML
<compilation batch="false" debug="false">

Save the changes to the Web.config file.
In Visual Studio, right-click the SharePoint project, and then click Properties.
Click the Debug tab, and then type the target SharePoint URL in the Start browser with URL box.
Place a breakpoint in the code, and then press F5.
 
Share this answer
 
Comments
jomondoth 7-Feb-17 1:00am    
I tried these options, but still not able to debug the solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900