added yarn start script
This commit is contained in:
parent
bec80115fc
commit
71778276a3
1 changed files with 9 additions and 1 deletions
10
.vscode/launch.json
vendored
10
.vscode/launch.json
vendored
|
@ -7,12 +7,20 @@
|
||||||
{
|
{
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "start",
|
"name": "start with node",
|
||||||
"skipFiles": [
|
"skipFiles": [
|
||||||
"<node_internals>/**"
|
"<node_internals>/**"
|
||||||
],
|
],
|
||||||
"program": "${workspaceFolder}/src/index.js"
|
"program": "${workspaceFolder}/src/index.js"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "node",
|
||||||
|
"name": "start with yarn",
|
||||||
|
"request": "launch",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"runtimeExecutable": "yarn",
|
||||||
|
"runtimeArgs": ["start"],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"name": "dev",
|
"name": "dev",
|
||||||
|
|
Loading…
Reference in a new issue