chore(zed): add zed task and debug configuration
This commit is contained in:
23
.zed/debug.json
Normal file
23
.zed/debug.json
Normal 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"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -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
|
||||
},
|
||||
|
||||
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user