-
Notifications
You must be signed in to change notification settings - Fork 20
Logging
Gregg Miskelly edited this page Jul 9, 2019
·
2 revisions
The Visual Studio Debug Adapter Host supports a logging mechanism to allow inspection of all CDP messages passing to and from the debug adapter, as well as any errors or warnings produced by the Debug Adapter Host itself.
To enable logging:
- Open the Visual Studio "Command" window by clicking the "View" menu, then "Other Windows", then "Command Window".
- In the "Command" window, enter
DebugAdapterHost.Logging /On /OutputWindow
This will direct all output from the Debug Adapter Host to a "Debug Adapter Host Log" pane in the "Output" window. Logging to a file is also supported - run DebugAdapterHost.Logging /On:c:\example\folder\example.log
.