1
0

chore(zed): add zed task and debug configuration

This commit is contained in:
2026-03-07 13:07:59 +01:00
committed by Klagarge
parent 7ec179071e
commit 7366592611
2 changed files with 36 additions and 3 deletions

23
.zed/debug.json Normal file
View File

@@ -0,0 +1,23 @@
// Project-local debug tasks
//
// For more documentation on how to configure debug tasks,
// see: https://zed.dev/docs/debugger
[
{
"label": "Debug Fibonacci (CodeLLDB Remote)",
"adapter": "CodeLLDB",
"request": "launch",
"build": {
"command": "make",
"args": [
"-C",
"/workspace/src/01_environment/fibonacci"
]
},
"program": "/workspace/src/01_environment/fibonacci/app",
"cwd": "/workspace/src/01_environment/fibonacci",
"processCreateCommands": [
"gdb-remote 192.168.53.14:1234"
]
}
]

View File

@@ -1,6 +1,4 @@
// Project tasks configuration. See https://zed.dev/docs/tasks for documentation.
//
// Example:
[
{
"label": "Get buildroot",
@@ -50,5 +48,17 @@
"show_summary": true,
"show_command": true,
},
{
"label": "gdbserver (fibonacci)",
"command": "ssh",
"args": [
"-t",
"root@192.168.53.14",
"/usr/bin/gdbserver :1234 /workspace/src/01_environment/fibonacci/app 2"
],
"use_new_terminal": true
},
]