From c9ba8dd778b2312cebab3e6800b627c8ce3e017e Mon Sep 17 00:00:00 2001 From: Kappasig920 Date: Wed, 10 Sep 2025 17:51:24 -0500 Subject: [PATCH 1/6] 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/6] 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/6] 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", From ce0acb916ce355f1f56344ae1ed750d23d603977 Mon Sep 17 00:00:00 2001 From: Kappasig920 Date: Mon, 6 Oct 2025 01:24:15 +0000 Subject: [PATCH 4/6] v2 --- .vscode/launch.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 3f21c62ba4..b5173b0db4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,22 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { + "name": "Launch Chrome", + "request": "launch", + "type": "chrome", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + }, + + + { + "command": "npm start", + "name": "Run npm start", + "request": "launch", + "type": "node-terminal" + }, + { From d9528f79ce49d09e92cd7687ecf7db1c5e6966f2 Mon Sep 17 00:00:00 2001 From: Kappasig920 Date: Mon, 6 Oct 2025 01:37:55 +0000 Subject: [PATCH 5/6] v3 --- .vscode/launch.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index b5173b0db4..448f753e52 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,19 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { + "name": "Launch via NPM", + "request": "launch", + "runtimeArgs": [ + "run-script", + "debug" + ], + "runtimeExecutable": "npm", + "skipFiles": [ + "/**" + ], + "type": "node" + }, { "name": "Launch Chrome", "request": "launch", From 956ab457ba066d9a2f5fe532b8455d43e6f83a15 Mon Sep 17 00:00:00 2001 From: Kappasig920 Date: Mon, 6 Oct 2025 02:54:53 +0000 Subject: [PATCH 6/6] v3 --- .vscode/launch.json | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 448f753e52..ac03a9219b 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,46 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { + "command": "npm start", + "name": "Run npm start", + "request": "launch", + "type": "node-terminal" + }, + { + "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}" + }, + { + "name": "Attach to Chrome", + "port": 9222, + "request": "attach", + "type": "chrome", + "webRoot": "${workspaceFolder}" + }, + { + "console": "integratedTerminal", + "internalConsoleOptions": "neverOpen", + "name": "nodemon", + "program": "${workspaceFolder}/app.js", + "request": "launch", + "restart": true, + "runtimeExecutable": "nodemon", + "skipFiles": [ + "/**" + ], + "type": "node" + }, { "name": "Launch via NPM", "request": "launch",