From 1b03845fc678b60d31624d51ee79b2d38c5bcd32 Mon Sep 17 00:00:00 2001 From: Felicio Mununga Date: Sun, 20 Nov 2022 21:33:10 +0100 Subject: [PATCH] add chrome debugging config --- .vscode/launch.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 2198d0d0..beb752a7 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,6 +1,17 @@ { "version": "0.2.0", + // https://code.visualstudio.com/docs/nodejs/browser-debugging for browser debugging docs + // https://github.com/microsoft/vscode-js-debug/blob/d77a474700e16d647e8fe68c205ef867094fa092/OPTIONS.md for browser debugging options + // https://github.com/vitejs/vite/issues/10372#issuecomment-1321219125 for debugging deeply nested `node_modules` dependencies in Chrome DevTools "configurations": [ + { + "name": "Attach to Vite via Chrome", + "url": "http://localhost:5173", + "request": "launch", + "type": "chrome", + "smartStep": false, + "sourceMaps": true + }, { "type": "node", "request": "launch",