Last active
October 7, 2025 10:32
-
-
Save javiermolinar/3304bc55fa65a9dc09e2f8c94e63b283 to your computer and use it in GitHub Desktop.
Debug task for debugging C files in Zed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "label": "Debug C file", | |
| "build": { | |
| "command": "gcc", | |
| "args": ["-g", "${ZED_FILE}", "-o", "${ZED_DIRNAME}/${ZED_STEM}.out"], | |
| "cwd": "${ZED_WORKTREE_ROOT}" | |
| }, | |
| "program": "${ZED_DIRNAME}/${ZED_STEM}.out", | |
| "request": "launch", | |
| "adapter": "CodeLLDB" | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment