Update debug.json in Zed repo to run the build on session startup (#31707)

Piotr Osiewicz created

Closes #ISSUE

Release Notes:

- N/A

Change summary

.zed/debug.json | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)

Detailed changes

.zed/debug.json 🔗

@@ -2,16 +2,11 @@
   {
     "label": "Debug Zed (CodeLLDB)",
     "adapter": "CodeLLDB",
-    "program": "$ZED_WORKTREE_ROOT/target/debug/zed",
-    "request": "launch"
+    "build": { "label": "Build Zed", "command": "cargo", "args": ["build"] }
   },
   {
     "label": "Debug Zed (GDB)",
     "adapter": "GDB",
-    "program": "$ZED_WORKTREE_ROOT/target/debug/zed",
-    "request": "launch",
-    "initialize_args": {
-      "stopAtBeginningOfMainSubprogram": true
-    }
+    "build": { "label": "Build Zed", "command": "cargo", "args": ["build"] }
   }
 ]