Skip to content

Commit 250390c

Browse files
authored
Merge pull request #37 from probot/fix-launch-configs
launching via npm picks up .env file
2 parents e7e08a2 + d444090 commit 250390c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.vscode/launch.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@
2121
],
2222
"console": "integratedTerminal",
2323
"cwd": "${workspaceRoot}/",
24+
"envFile": "${workspaceFolder}/.env"
2425
},
2526
{
2627
"type": "node",
2728
"request": "launch",
2829
"name": "Launch Probot",
29-
"runtimeExecutable": "probot",
30-
"runtimeArgs": ["run", "./app.js"],
30+
"runtimeExecutable": "npm",
31+
"runtimeArgs": ["start"],
3132
"console": "integratedTerminal",
3233
"cwd": "${workspaceRoot}/",
3334
}

0 commit comments

Comments
 (0)