From 818c1a3bcf2026485d999712fdf6a8c49d11137b Mon Sep 17 00:00:00 2001 From: Michael Zetterberg Date: Mon, 19 May 2025 15:41:31 +0200 Subject: [PATCH] fix: debugging in VSCode --- .vscode/launch.json | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index d1f3f6992..795f38dd3 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,15 +1,14 @@ { - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { - "name": "Debug: Web", - "type": "node-terminal", + "name": "Web", + "type": "node", "request": "launch", - "command": "yarn dev", - "cwd": "${workspaceFolder}/apps/scandic-web" + "program": "${workspaceFolder}/node_modules/next/dist/bin/next", + "localRoot": "${workspaceFolder}/apps/scandic-web", + "runtimeArgs": ["--inspect", "--openssl-legacy-provider"], + "skipFiles": ["/**"] } ] }