Skip to content

Instantly share code, notes, and snippets.

@alalonde
Created April 12, 2022 17:35
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 alalonde/75e4d4237aacd9e45ac38e5b5faf479b to your computer and use it in GitHub Desktop.
Save alalonde/75e4d4237aacd9e45ac38e5b5faf479b to your computer and use it in GitHub Desktop.
MetaGame debugging with VSCode
{
"configurations": [
...,
{
"type": "node",
"request": "attach",
"name": "Attach to backend",
"protocol": "inspector",
"port": 4322,
"localRoot": "${workspaceRoot}",
"sourceMapPathOverrides": {
"usr/src/app/*": "${workspaceRoot}/*"
},
"remoteRoot": "/usr/src/app/",
"outFiles": ["${workspaceFolder}/packages/backend/dist/**/*.js"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment