-
Notifications
You must be signed in to change notification settings - Fork 222
Debug OpenDebugAD7 for VS Code
Andrew Wang edited this page Dec 10, 2021
·
3 revisions
The best way to debug OpenDebugAD7 for VS Code is to run the published build of it and run OpenDebugAD7[.exe] --server --pauseForDebugger
Then in the VS Code launch.json
configuration add "debugServer": 4711
Below are instructions on how to attach to the process depending on what Operating System you are using.
On Windows, you can use Visual Studio to debug OpenDebugAD7.exe
or use the similar steps below for Linux or macOS for debugging in VS Code.
Steps:
- Open src/MIDebugEngine.sln.
- Go to Debug -> Attach to Process
- Attach to the
OpenDebugAD7.exe
process. Note: If developing in WSL, you can use the WSL Transport Type to debug in Visual Studio.
- Open the MIEngine project folder
- Create a
launch.json
with the following configuration:
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
- Start debugging and attach to the
OpenDebugAD7
process.