Skip to content

Instantly share code, notes, and snippets.

@Kraloz
Created October 6, 2021 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kraloz/96682d8932dbb12831920ee9b817f404 to your computer and use it in GitHub Desktop.
Save Kraloz/96682d8932dbb12831920ee9b817f404 to your computer and use it in GitHub Desktop.
launch.json multiuse
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Backend",
"preLaunchTask": "build-backend",
"program": "${workspaceFolder}/app/backend/src/index.ts",
"cwd": "${workspaceFolder}/app/backend",
"protocol": "inspector",
"outFiles": ["${workspaceFolder}/app/backend/dist/**/*.js"],
"runtimeArgs": [
"--max-old-space-size=4096"
]
},
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}/app/frontend"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment