我正在使用 VS Code 的 chrome 调试器运行源代码。但是,每当运行 chrome 调试器时,chrome 浏览器都会以隐身模式运行。在此模式下,任何 chrome 扩展和上下文都无法访问。
有谁知道如何解决这个问题,而不是在隐身模式下运行 chrome 调试器?
这是我的 VS Code chrome 调试器配置。
{ "configurations": [
"type": "chrome",
"request": "launch",
"name": "Launch Chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}"
]
}
Run Code Online (Sandbox Code Playgroud)