feat: VSCode launch configurations
This commit is contained in:
33
.vscode/launch.json
vendored
Normal file
33
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Nuxt server",
|
||||||
|
"type": "node",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${workspaceFolder}/wp-content/themes/moonshine/node_modules/nuxt/bin/nuxt.mjs",
|
||||||
|
"runtimeArgs": [
|
||||||
|
"--inspect"
|
||||||
|
],
|
||||||
|
"args": [
|
||||||
|
"dev"
|
||||||
|
],
|
||||||
|
"cwd": "${workspaceFolder}/wp-content/themes/moonshine",
|
||||||
|
"autoAttachChildProcesses": true,
|
||||||
|
"console": "integratedTerminal",
|
||||||
|
"skipFiles": [
|
||||||
|
"<node_internals>/**"
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Nuxt client",
|
||||||
|
"type": "chrome",
|
||||||
|
"request": "launch",
|
||||||
|
"sourceMaps": true,
|
||||||
|
"trace": false,
|
||||||
|
"url": "http://localhost:3000",
|
||||||
|
"userDataDir": "${env:HOME}/.vscode/chromium-profile",
|
||||||
|
"webRoot": "${workspaceFolder}/wp-content/themes/moonshine"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user