ide: add remote debugging configuration

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
This commit is contained in:
Mahyar Koshkouei
2025-07-31 23:58:24 +01:00
parent e64472e689
commit b4d1f687d1

16
.vscode/launch.json vendored
View File

@@ -14,6 +14,20 @@
"externalConsole": false, "externalConsole": false,
"preLaunchTask": "Build 3DS ROM", "preLaunchTask": "Build 3DS ROM",
"targetArchitecture": "arm" "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"
} }
] ]
} }