From e51db2441892e6d60f123e4e66131ce869432227 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 23 Jun 2025 11:06:30 -0700 Subject: [PATCH] Update launch configuration --- .vscode/launch.json | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 366b54388..372a44597 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,19 +1,31 @@ { - // 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": "Next.js: debug full stack", + "name": "Debug homepage", "type": "node", "request": "launch", - "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/next", - "serverReadyAction": { - "pattern": "started server on .+, url: (https?://.+)", - "uriFormat": "%s", - "action": "debugWithChrome" + "runtimeExecutable": "pnpm", + "runtimeArgs": ["run", "dev"], + "env": { + "LOG_LEVEL": "debug" + }, + "skipFiles": ["/**"], + "console": "integratedTerminal", + "serverReadyAction":{ + "pattern": ".*http://localhost:3000.*", + "action": "startDebugging", + "name": "Launch Chromium", + "killOnServerStop": true, } + }, + { + "name": "Launch Chromium", + "type": "chrome", + "request": "launch", + "url": "http://localhost:3000", + "urlFilter": "http://localhost:3000", + "webRoot": "${workspaceFolder}", + "trace": true } ] }