Skip to content

Instantly share code, notes, and snippets.

@kingofnull
Last active December 13, 2020 10:24
Show Gist options
  • Save kingofnull/5e69eafe5563e17b340fa83bce6b7555 to your computer and use it in GitHub Desktop.
Save kingofnull/5e69eafe5563e17b340fa83bce6b7555 to your computer and use it in GitHub Desktop.
VS Code launch config for react.js . source: https://stackoverflow.com/a/39607924
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch via NPM",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}/src",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script", "start"
],
"port": 3000
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment