From b4d1f687d1948e5df4656047ca58d78c61af06f3 Mon Sep 17 00:00:00 2001 From: Mahyar Koshkouei Date: Thu, 31 Jul 2025 23:58:24 +0100 Subject: [PATCH] ide: add remote debugging configuration Signed-off-by: Mahyar Koshkouei --- .vscode/launch.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 024160d..ee17204 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -14,6 +14,20 @@ "externalConsole": false, "preLaunchTask": "Build 3DS ROM", "targetArchitecture": "arm" + }, + { + "name": "Remote Debug on 3DS (Rosalina)", + "type": "cppdbg", + "request": "launch", // VS Code will issue `target remote …` + "program": "${workspaceFolder}/output/3ds-arm/ctrmus.elf", + "cwd": "${workspaceFolder}", + "MIMode": "gdb", + "miDebuggerPath": "arm-none-eabi-gdb", + "miDebuggerArgs": "--silent", + "miDebuggerServerAddress": "192.168.1.11:4003", // Rosalina IP + port + "externalConsole": false, + "preLaunchTask": "Build 3DS ROM", + "targetArchitecture": "arm" } ] -} +} \ No newline at end of file