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