这是launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "msedge",
"request": "launch",
"name": "Launch Edge against localhost",
"url": "http://localhost:3000/signup",
"webRoot": "${workspaceFolder}",
}
]
}
2条答案
按热度按时间jvidinwx1#
尝试将
"runtimeArgs": ["-inPrivate"],
添加到启动配置中。runtimeArgs
的文档:“* 传递给运行时可执行文件的可选参数。*”参见Can Microsoft Edge be launched in “Private Mode” through cmd?。
m0rkklqb2#
尝试将此属性添加到您的Edge启动配置:
“runtimeArgs”:["--inprivate”]
例如:
希望这对你有帮助。