run vscode chrome debugger with its extensions

后端 未结 2 1017
半阙折子戏
半阙折子戏 2021-01-02 15:56

Is there any way we can launch the chrome window with all the extensions installed on chrome?

{
    \"version\": \"0.2.0\",
    \"configurations\": [{
               


        
2条回答
  •  梦谈多话
    2021-01-02 16:53

    One way is to prevent the debugger from starting a chrome instance with a seperate profile.

    Just add "userDataDir": false within "configurations" to your launch.json. Close all Chrome instances, than start debugging from Visual Studio Code.

    Your previous chrome session should open including a new Tab serving your files.

    Afterwards you can start/stop debugging without closing and reopening chrome.

    Source: https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome

提交回复
热议问题