ide: add remote debugging configuration
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
This commit is contained in:
16
.vscode/launch.json
vendored
16
.vscode/launch.json
vendored
@@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user