I'm working on setting up an environment to get debugging working for my program and I found these instructions online to get it to work with Chrome but I want it to work with Visual Studio Code:
- Open Google Chrome and navigate to chrome://inspect. Your program should be listed as a debuggable target. It'll have your program ID attached to it.
- If you don't see the panel as a debuggable item, you may need to tell Chrome to look at the port you've specified above.
- Click "Configure" next to "Discover Network Targets"
- Add "localhost:9345" (or the port you used above"
- Click "Done"
- Click "inspect". CDT should launch with the full debugging experience
Is this enough information to get debugging to work with Visual Studio Code?
More information when visiting the URL:
[
{
"description": "Program",
"devtoolsFrontendUrl": "chrome-devtools://devtools/bundled/inspector.html?experiments=true&ws=127.0.0.1:9345/devtools/page/abc123",
"faviconUrl": "https://www.example.com/favicon.ico",
"id": "abc123",
"title": "abc123",
"type": "page",
"url": "",
"webSocketDebuggerUrl": "ws://127.0.0.1:9345/devtools/page/abc123"
}
]

Debugger for extension, marketplace.visualstudio.com/…. Have you followed all the troubleshooting steps listed on the page?