From 5f8bd7f8914c23b1ecd7bcbf62b59e8c588e4e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tao=20Bojl=C3=A9n?= <2803708-tao_oat@users.noreply.gitlab.com> Date: Sun, 11 Oct 2020 11:29:36 +0100 Subject: [PATCH] add debug config --- .vscode/launch.json | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index e351800..13d6968 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,12 +5,15 @@ "version": "0.2.0", "configurations": [ { - "type": "chrome", + "type": "mix_task", "request": "launch", - "name": "Launch Chrome", - "url": "http://localhost:3000", - "webRoot": "${workspaceFolder}/frontend/src", - "runtimeExecutable": "/usr/bin/chromium-browser" - } + "name": "phx.server", + "task": "phx.server", + "taskArgs": [], + "projectDir": "${workspaceRoot}/backend", + "env": { + "SKIP_CRAWL": "1" + } + }, ] -} +} \ No newline at end of file