This is a very useful tool for X++ debugging in VS. As we attach the same process everytime we want to debug our code i.e. w3wp.exe why not use a button to do this?
Solution: Tool from MS called Reattach
It can be downloaded from below.
After it is installed you need to re-open the VS before you could see the button. It is available but enabled only when Attach to Process is done once the traditional way from Debug menu.
You could also BUILD your solution before every time you start your debug using the below option.