aboutsummaryrefslogtreecommitdiff
path: root/.vscode/launch.json
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-07-13 14:24:24 +0000
committerFelix Morgner <felix.morgner@ost.ch>2025-07-13 14:24:24 +0000
commitf049972aadd16ab2fcf4770ebbfa20c66b4994e8 (patch)
treedcfd5b51d14a05d65a24bdeecd13413179455e77 /.vscode/launch.json
parentbfe60f1c0f316cc512dd61f82667e59b284d3271 (diff)
downloadteachos-f049972aadd16ab2fcf4770ebbfa20c66b4994e8.tar.xz
teachos-f049972aadd16ab2fcf4770ebbfa20c66b4994e8.zip
ide: improve launch configuration
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json16
1 files changed, 2 insertions, 14 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 0d379df..4dc9fc6 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -6,7 +6,7 @@
"miDebuggerPath": "x86_64-pc-elf-gdb",
"type": "cppdbg",
"request": "launch",
- "program": "${workspaceFolder}/build/bin/${input:build_type}/_kernel",
+ "program": "${workspaceFolder}/build/bin/${command:cmake.buildType}/_kernel",
"MIMode": "gdb",
"miDebuggerServerAddress": "localhost:1234",
"cwd": "${workspaceFolder}",
@@ -20,7 +20,7 @@
},
{
"description": "Load file",
- "text": "-file-exec-and-symbols ${workspaceFolder}/build/bin/${input:build_type}/_kernel"
+ "text": "-file-exec-and-symbols ${workspaceFolder}/build/bin/${command:cmake.buildType}/_kernel"
},
{
"description": "Set breakpoint on _start",
@@ -28,17 +28,5 @@
}
]
}
- ],
- "inputs": [
- {
- "id": "build_type",
- "type": "pickString",
- "default": "Debug",
- "description": "The build type to boot",
- "options": [
- "Debug",
- "MinSizeRel"
- ]
- }
]
} \ No newline at end of file