Chrome 更新打乱了我的 VS 调试
Chrome update has messed up my debugging with VS
从昨天到今天,我无法在本地主机上启动我的项目,因为我的非安全 chrome 似乎已更新到版本 94.0.4606.61(官方构建)(x86_64 ) 并且当我启动我的混合应用程序时,它之前应该进行自动登录是 200 响应现在是 302 并进行重定向。
这可能是什么问题?
这是我的launch.json
{
"configurations": [{
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8100/#/Home/dashboardApp",
"runtimeArgs": [
"--args",
"--disable-web-security",
"--allow-file-access-from-files",
"--allow-running-insecure-content",
"--ignore-certificate-errors",
"--disable-features=SameSiteByDefaultCookies,CookiesWithoutSameSiteMustBeSecure",
],
"webRoot": "${workspaceFolder}/src"
}]
}
1- - 下载旧版本的 Chromium Chrome。
2- 将 .app 放入您的应用程序查找器中。
3- 将此添加到您的视觉代码 launch.json(在“配置”内)
"runtimeExecutable": "/Applications/Chromium.app/Contents/MacOS/Chromium"
4- 如果您无法打开 Chromiun,请转到“系统偏好设置”、“安全/隐私”和“常规”。
重要说明,chrome 的扩展调试器已弃用,请将其卸载。使用 VS Code 的内部调试器。
从昨天到今天,我无法在本地主机上启动我的项目,因为我的非安全 chrome 似乎已更新到版本 94.0.4606.61(官方构建)(x86_64 ) 并且当我启动我的混合应用程序时,它之前应该进行自动登录是 200 响应现在是 302 并进行重定向。
这可能是什么问题?
这是我的launch.json
{
"configurations": [{
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8100/#/Home/dashboardApp",
"runtimeArgs": [
"--args",
"--disable-web-security",
"--allow-file-access-from-files",
"--allow-running-insecure-content",
"--ignore-certificate-errors",
"--disable-features=SameSiteByDefaultCookies,CookiesWithoutSameSiteMustBeSecure",
],
"webRoot": "${workspaceFolder}/src"
}]
}
1- - 下载旧版本的 Chromium Chrome。
2- 将 .app 放入您的应用程序查找器中。
3- 将此添加到您的视觉代码 launch.json(在“配置”内) "runtimeExecutable": "/Applications/Chromium.app/Contents/MacOS/Chromium"
4- 如果您无法打开 Chromiun,请转到“系统偏好设置”、“安全/隐私”和“常规”。
重要说明,chrome 的扩展调试器已弃用,请将其卸载。使用 VS Code 的内部调试器。