Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code opens chrome debugger in incognito mode

I'm running source codes on VS Code with its chrome debugger. But, whenever running the chrome debugger, the chrome browser runs in incognito mode. In this mode, any chrome extensions and context can't be accessible.

Is there anyone who knows how to fix this issue, not running the chrome debugger in incognito mode?

This is my VS Code chrome debugger configuration.

{ "configurations": [
    "type": "chrome",
    "request": "launch",
    "name": "Launch Chrome",
    "url": "http://localhost:3000",
    "webRoot": "${workspaceFolder}"
  ]
}
like image 258
mznet07 Avatar asked Mar 09 '26 20:03

mznet07


1 Answers

Add the code in "configurations":

"runtimeArgs": ["--incognito"]
like image 75
Mauricio Macedo Espido Avatar answered Mar 11 '26 23:03

Mauricio Macedo Espido



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!