microsoft / vscode-js-debug

A DAP-compatible JavaScript debugger. Used in VS Code, VS, + more
MIT License
1.67k stars 283 forks source link

When the Debug for Chrome plugin is running, the browser plugin is gone #1982

Open alaric8 opened 7 months ago

alaric8 commented 7 months ago

版本: 1.85.2 (user setup) 提交: 8b3775030ed1a69b13e4f4c628c612102e30a681 日期: 2024-01-18T06:40:10.514Z Electron: 25.9.7 ElectronBuildId: 26354273 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.19045

alaric8 commented 7 months ago

image image

alaric8 commented 7 months ago

How can I open the browser with chrome extension debugging?

connor4312 commented 7 months ago

Debug sessions use a different user data directory for Chrome than your default user profile. You can control the directory used via the userDataDirectory property in the launch.json.

alaric8 commented 7 months ago

image This property is not displayed

alaric8 commented 7 months ago

Without this attribute, is in the project root directory launch. The json Settings

I start the debug is directly click on the package. The json file script field floating button

alaric8 commented 7 months ago

image

connor4312 commented 7 months ago

Sorry, it's userDataDir, not userDataDirectory