• Home
  • About
  • Contact
  • Speaking

ReAttach - how to easily (re)attach the debugger in Visual Studio

by Piotr Stapp — on tools visual studio 21 Jan 2016

In more complicated projects, simple F5 doesn't compile&debug. In cases where you're working with IIS (w3wp process), we need to attach the debugger manually.

Attaching debugger

The simple gif below shows you how to attach it normally:
Standard Visual Studio debugger attach

For the first time it's ok, but repeating this step 10 times in hour is painful.
Could this be done in one button or keyboard shortcut?

Tool to the rescue

ReAttach is a free tool which solves this exact issue. Just take a look at the picture below:

Attach debugger using ReAttach

It has many useful and simple features:

  1. Hotkey sequence CTRL+R, CTRL+[number] allows you to attach to one of the latest targets
  2. It waits for the process if it doesn't exist yet (for example w3wp IIS\APPPOOL myapp)
  3. It supports all Visual Studio versions after and including 2010

You can install it from the Visual Studio Gallery and browse source code on github


Follow @ptrstpp950

0%
ReAttach - how to easily (re)attach the debugger in Visual Studio
words - read.
Recent Posts:

Comments

comments powered by Disqus
Piotr Stapp Author

Piotr Stapp

Developer, engineer, craftsmen, speaker & biker. User of all useful technologies. Believe in people not papers. DevOps & automation adept. In love with web technologies. I speak here for myself only.

Previous post Clean code - regular expressions The most important thing I learn in 2015 is about clean code. It is everything. You can have a…
Next post How to split monolith solution - part 1: common myths Do you have a big and heavy solution? Do you want to split it? Are you afraid? I will…
All content copyright Reset your code © 2016 • All rights reserved.
Proudly published with Ghost