From 51b361bd7abeeeccf2d68513eb400bb5fc180f38 Mon Sep 17 00:00:00 2001 From: Gabriel Bianchi Date: Fri, 25 Oct 2024 08:40:07 -0300 Subject: [PATCH] Make debugger more reliable (#1214) --- .vscode/launch.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 5fcd84524..04f7850db 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,8 +6,12 @@ "type": "node-terminal", "request": "launch", "command": "pnpm dev", - "cwd": "${workspaceFolder}/apps/nextjs/", - "skipFiles": ["/**"] + "cwd": "${workspaceFolder}/apps/nextjs", + "skipFiles": ["/**"], + "sourceMaps": true, + "sourceMapPathOverrides": { + "/turbopack/[project]/*": "${webRoot}/*" //https://github.com/vercel/next.js/issues/62008 + } } ] }