From c9ba8dd778b2312cebab3e6800b627c8ce3e017e Mon Sep 17 00:00:00 2001 From: Kappasig920 Date: Wed, 10 Sep 2025 17:51:24 -0500 Subject: [PATCH 1/3] Add VS Code launch configurations for Go and Node.js --- .vscode/launch.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 24eae850d0..79d115e055 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,26 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + + + { + "name": "Launch Package", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "${workspaceFolder}" + }, + + + { + "name": "Launch Program", + "program": "${workspaceFolder}/app.js", + "request": "launch", + "skipFiles": [ + "/**" + ], + "type": "node" + }, { "name": "Debug FastAPI Project backend: Python Debugger", "type": "debugpy", From d55db7bc8a9bb7e4bf5f67f75cc41089a898162f Mon Sep 17 00:00:00 2001 From: Kappasig920 Date: Thu, 11 Sep 2025 15:28:42 +0000 Subject: [PATCH 2/3] Adds VS Code debug configs for gdb and Chrome Provides ready-to-use launch/attach profiles for native (gdb) and browser (Chrome) debugging in VS Code. Enables pretty-printing and Intel disassembly for clearer C++ debugging, and streamlines frontend debugging via Chrome with sensible defaults. Reduces setup friction and speeds up local development across backend and frontend. --- .vscode/launch.json | 66 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 79d115e055..d0e133e884 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,72 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { + "name": "(gdb) Launch", + "type": "cppdbg", + "request": "launch", + "program": "enter program name, for example ${workspaceFolder}/a.out", + "args": [], + "stopAtEntry": false, + "cwd": "${fileDirname}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + }, + { + "description": "Set Disassembly Flavor to Intel", + "text": "-gdb-set disassembly-flavor intel", + "ignoreFailures": true + } + ] + }, + { + "name": "(gdb) Attach", + "type": "cppdbg", + "request": "attach", + "program": "enter program name, for example ${workspaceFolder}/a.out", + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + }, + { + "description": "Set Disassembly Flavor to Intel", + "text": "-gdb-set disassembly-flavor intel", + "ignoreFailures": true + } + ] + }, + + + + + { + "name": "Launch Chrome", + "request": "launch", + "type": "chrome", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + }, + { + "name": "Attach to Chrome", + "port": 9222, + "request": "attach", + "type": "chrome", + "webRoot": "${workspaceFolder}" + }, + + + + + { From 641d4b010a37effc8dcd0515c48a821fb036b888 Mon Sep 17 00:00:00 2001 From: Kappasig920 Date: Thu, 11 Sep 2025 15:31:13 +0000 Subject: [PATCH 3/3] Adds Go and Node debug configs Adds VS Code launch configurations to debug Go packages and a Node entry point alongside the existing C++ setup. Enables F5 debugging for Go (auto mode at workspace) and Node (skips Node internals), improving multi-language development workflow. --- .vscode/launch.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index d0e133e884..3f21c62ba4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,26 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + + + { + "name": "Launch Package", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "${workspaceFolder}" + }, + + + { + "name": "Launch Program", + "program": "${workspaceFolder}/app.js", + "request": "launch", + "skipFiles": [ + "/**" + ], + "type": "node" + }, { "name": "(gdb) Launch", "type": "cppdbg",