VS Code & Chrome Debugging extension - open new instance of Chrome? -


using vs code , chrome debugging extension launch open new instance of chrome if 1 not present, or open new tab if (but won't work debugging ports not open). upon close closes tabs.

this real pita if i've got pages open want stay open (e.g. documentation).

is there way open own instance of chrome if 1 open, , close instance on terminate?

i.e. open own instance of chrome , leave existing instances alone.

if specify userdatadir in launch.json, launch new instance of chrome you. also, unhelpfully, offer 'restore pages' everytime launches after first time unless specify runtimeargs , runtimeexecutable. here's sample launch.json:

"configurations": [     {         "name": "launch localhost",         "type": "chrome",         "request": "launch",         "url": "http://localhost:3000",         "webroot": "${workspaceroot}",         "sourcemaps": true,         "sourcemappathoverrides": {             "webpack:///src/*": "${webroot}/*"         },         "userdatadir": "${workspaceroot}.vscode/chrome",         "runtimeargs": [             "--disable-infobars --disable-session-crashed-bubble"         ],         "runtimeexecutable": "c:\\program files (x86)\\google\\chrome\\application\\chrome.exe"     } ] 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -