Let's say I have a SharePoint web application running in my local machine. I want to debug a visual web part so that I can check what's wrong with my code. To start debugging I usually do the following steps:
appcmdlist wp and I get the
pidof my application pool
- Go to visual studio "Debug-> Attach to process..." and attach the process by the id I got in the step 1.
- Create my break point
Is there any way of making this process more efficient like, for instance, attaching the process without using the step 2?