From b786f49aa173f4fe67c54b8b79848dd9f90201d8 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Mon, 6 Feb 2023 14:30:10 +0300 Subject: [PATCH] vscode: fix client debug --- .vscode/launch.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index ffbad05..6a2144b 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,9 +9,15 @@ }, { "name": "Next.js: debug client-side", - "type": "pwa-chrome", + "type": "chrome", "request": "launch", - "url": "http://localhost:3000" + "url": "http://localhost:3000", + "webRoot": "${workspaceFolder}/apps/web", + "sourceMaps": true, + "sourceMapPathOverrides": { + "webpack://_N_E/*": "${webRoot}/*" + }, + "skipFiles": ["**//**", "**/node_modules/**"] }, { "name": "Next.js: debug full stack",