Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
-
The Please try this launch.json - you will have to manually update {
"version": "0.2.0",
"configurations": [
{
"name": "Launch Node",
"type": "node",
"request": "launch",
"runtimeExecutable": "node",
"runtimeArgs": ["--inspect", "./node_modules/next/dist/bin/next"],
"cwd": "${workspaceFolder}",
"skipFiles": ["<node_internals>/**"],
},
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
"port": 9222
}
],
"compounds": [
{
"name": "Debug Full Stack",
"configurations": ["Launch Node", "Launch Chrome"],
"stopAll": true
}
]
} |
Beta Was this translation helpful? Give feedback.
-
For anyone using a backend that's not NextJS related (but your front-end is) and needing to use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
When debugging an application in Visual Studio code, I can't login with Google into my Web Application as I get the error "this browser or app may not be secure.".
Below the content of the .vscode/launch.json file, taken from the official documentation at this link https://nextjs.org/docs/app/building-your-application/configuring/debugging.
If I try running "Next.js: debug full stack" and logging with Google into my app, I get the error above.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions