docs: add some more debugging tips (#22415)

This commit is contained in:
David Marr 2023-07-31 10:40:50 -04:00 committed by GitHub
parent a6821948ba
commit 3159bb4f65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,7 @@ You may need to update the config below with a path to your web browser. For mor
"type": "node", "type": "node",
"request": "launch", "request": "launch",
"name": "server: nuxt", "name": "server: nuxt",
"outputCapture": "std",
"program": "${workspaceFolder}/node_modules/nuxi/bin/nuxi.mjs", "program": "${workspaceFolder}/node_modules/nuxi/bin/nuxi.mjs",
"args": [ "args": [
"dev" "dev"
@ -60,6 +61,12 @@ You may need to update the config below with a path to your web browser. For mor
} }
``` ```
If you prefer your usual browser extensions, add this to the _chrome_ configuration above:
```json5
"userDataDir": false,
```
### Example JetBrains IDEs Debug Configuration ### Example JetBrains IDEs Debug Configuration
You can also debug your Nuxt app in JetBrains IDEs such as IntelliJ IDEA, WebStorm, or PhpStorm. You can also debug your Nuxt app in JetBrains IDEs such as IntelliJ IDEA, WebStorm, or PhpStorm.