foxygit / fake-08-xbox360 Log in
commit c984ddf2e22e00cb2c44d17adeea4b50627ec92d
Author:     Jon Bell <jondbell@protonmail.com>
AuthorDate: Wed Apr 22 07:49:14 2020 -0600
Commit:     Jon Bell <jondbell@protonmail.com>
CommitDate: Wed Apr 22 07:49:14 2020 -0600

    Add example launch.json for remote debugging on 3ds
---
 ExampleRemoteDebuggingLaunch.json | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/ExampleRemoteDebuggingLaunch.json b/ExampleRemoteDebuggingLaunch.json
new file mode 100644
index 0000000..5b69547
--- /dev/null
+++ b/ExampleRemoteDebuggingLaunch.json
@@ -0,0 +1,19 @@
+{
+    // command line example: https://gist.github.com/LiquidFenrir/d110f3e7755ffbe82672eda49ae21af2
+    // https://marketplace.visualstudio.com/items?itemName=webfreak.debug
+    "version": "0.2.0",
+    "configurations": [
+        {
+            "type": "gdb",
+            "request": "attach",
+            "name": "Attach to gdbserver",
+            "executable": "path-to-compiled-elf.elf",
+            "target": "[3ds-ip]:[port]",
+            "remote": true,
+            "cwd": "${workspaceRoot}",
+            "valuesFormatting": "parseText",
+            "gdbpath": "C:\\devkitPro\\devkitARM\\bin\\arm-none-eabi-gdb.exe"
+        }
+
+    ]
+}
\ No newline at end of file