vscode-js-debug icon indicating copy to clipboard operation
vscode-js-debug copied to clipboard

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

Open alaric8 opened this issue 1 year ago • 7 comments

版本: 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 avatar Mar 30 '24 17:03 alaric8

image image

alaric8 avatar Mar 30 '24 18:03 alaric8

How can I open the browser with chrome extension debugging?

alaric8 avatar Mar 30 '24 18:03 alaric8

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.

connor4312 avatar Mar 30 '24 19:03 connor4312

image This property is not displayed

alaric8 avatar Mar 31 '24 00:03 alaric8

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 avatar Mar 31 '24 00:03 alaric8

image

alaric8 avatar Mar 31 '24 01:03 alaric8

Sorry, it's userDataDir, not userDataDirectory

connor4312 avatar Mar 31 '24 05:03 connor4312