Created
May 16, 2024 05:40
-
-
Save vanduc1102/a5d27eab09b065e1e337ceeb16ce1ea3 to your computer and use it in GitHub Desktop.
vscode launch.json for npm workspaces , apps/__all _app , packages/__ all packages __
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
{ | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch Current TS file", | |
"runtimeArgs": ["-r", "ts-node/register"], | |
"args": ["${file}"] | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch Import Excels", | |
"runtimeArgs": ["-r", "ts-node/register"], | |
"cwd": "${workspaceFolder}/apps/shop-api", | |
"args": "${workspaceFolder}/apps/shop-api/import.ts" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "shop api", | |
"runtimeArgs": ["-r", "ts-node/register"], | |
"cwd": "${workspaceFolder}/apps/shop-api", | |
"program": "${workspaceFolder}/apps/shop-api/src/server.ts" | |
}, | |
{ | |
"name": "shop web", | |
"type": "node", | |
"request": "launch", | |
"cwd": "${workspaceFolder}/apps/shop-web", | |
"program": "${workspaceFolder}/node_modules/.bin/next", | |
"runtimeArgs": ["--inspect"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment