I am developing a visual studio plugin, and I need to check if a debugger (i.e. the application is currently) connected so that the user does not perform certain actions. I looked online, but I could not find anything useful.
Is there any way to do this?
Thanks!
EDIT: It seems the question is not clear enough. I am trying to achieve: my plugin works inside the visual studio. I need to check if this instance of visual studio is connected to the debugging application, so my plugin can act accordingly.
source share