Skip to content

Commit

Permalink
Add debug option to switch between live and dev api
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
adlk committed Nov 8, 2017
1 parent 46d70c0 commit cabeaa7
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,24 @@
{
"type": "node",
"request": "launch",
"name": "Electron Main",
"name": "Franz - Test API",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"program": "${workspaceFolder}/build/index.js",
"protocol": "inspector"
"protocol": "inspector",
"env": {
"NODE_ENV": "development"
}
},
{
"type": "node",
"request": "launch",
"name": "Franz – Live API",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"program": "${workspaceFolder}/build/index.js",
"protocol": "inspector",
"env": {
"LIVE_API": "1"
}
}
]
}

0 comments on commit cabeaa7

Please sign in to comment.