Q: Get visual studio debug event in VS extension How do I write an extension to Visual Studio that will run during debug?
I saw kinds of UI or code editor options, but not the software events.

A: DTE.Events.DebuggerEvents gives you access to VS debugger events:
    events = DTE.Events;
    debuggerEvents = events.DebuggerEvents;
    debuggerEvents.OnEnterRunMode += OnEnterRunMode;

