Created
October 10, 2022 13:26
-
-
Save vsanrocha/a90426d972d03423ceb8dc84441d531f to your computer and use it in GitHub Desktop.
Nuxt launch config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "chrome", | |
| "request": "launch", | |
| "name": "client: chrome", | |
| "url": "http://localhost:3333", | |
| "webRoot": "${workspaceFolder}" | |
| }, | |
| { | |
| "type": "node", | |
| "request": "launch", | |
| "name": "server: nuxt", | |
| "cwd": "${workspaceFolder}", | |
| "autoAttachChildProcesses": true, | |
| "runtimeExecutable": "pnpm", | |
| "runtimeArgs": ["run", "dev"], | |
| // "program": "${workspaceRoot}/node_modules/nuxt/bin/nuxt.mjs", | |
| // "args": ["dev", "--port", "3333"], | |
| // "runtimeArgs": ["--preserve-symlinks"], | |
| "console": "integratedTerminal" | |
| }, | |
| { | |
| "type": "pwa-node", | |
| "request": "launch", | |
| "name": "Debug Current Test File", | |
| "autoAttachChildProcesses": true, | |
| "skipFiles": ["<node_internals>/**", "**/node_modules/**"], | |
| "program": "${workspaceRoot}/node_modules/vitest/vitest.mjs", | |
| "args": ["run", "${relativeFile}"], | |
| "smartStep": true, | |
| "console": "integratedTerminal" | |
| }, | |
| { | |
| "type": "pwa-node", | |
| "request": "launch", | |
| "name": "Debug Current Test File in Watch mode", | |
| "autoAttachChildProcesses": true, | |
| "skipFiles": ["<node_internals>/**", "**/node_modules/**"], | |
| "program": "${workspaceRoot}/node_modules/vitest/vitest.mjs", | |
| "args": ["${relativeFile}"], | |
| "smartStep": true, | |
| "console": "integratedTerminal" | |
| } | |
| ], | |
| "compounds": [ | |
| { | |
| "name": "fullstack: nuxt", | |
| "configurations": ["server: nuxt", "client: chrome"] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment