<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/125777>125777</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Feature request: have an `xcdebug` equivalent for lldb-dap
</td>
</tr>
<tr>
<th>Labels</th>
<td>
lldb-dap
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JDevlieghere
</td>
</tr>
</table>
<pre>
On macOS, xcdebug allows you to start a debug session in Xcode from the command line:
```
xcdebug [options] <command> [args ...]
Starts a 'process-based' debugging session: Spawns the given command with
the given arguments in the current terminal and asks the most recently used
Xcode window to attach to it (opens a new temporary debugging-only window if
no windows are open).
```
I work almost exclusively in the terminal, but I’d love to take advantage of an IDE for debugging. I wish there were something similar for lldb-dap and VS Code. However, I’m not sure this would really fit within lldb-dap, as the DAP implementation is, by design, agnostic of the IDE or editor that uses it. For this to work, the binary (whether lldb-dap or something else) would need to know which program to launch and how.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxcVM2OozgQfhrnUmrkOL8cOGQmHW3vZVZqabXXCi7A28Zm7AImb78qku6MVrISsPnK30_ZmLNrA1Gldt_U7rzCkbuYqj_PNHlHbUeJVtdob9WPAD3WP96V-Q6_akvXsQX0Ps4ZbnEEjpAZEwPCfS1Tzi4GcAH-qaMlaFLsgTuCOvY9BgveBVKbk9LL2OvH0KfP8mr3LQ7sYshqdwa1-f5Aqs2rrGFqMxRFoXZnpU_vsnsGBGUOQ4o15fxyxUxWmcOdUuvCFy21OcH7gHPIC6XWTRS-iM2OO6VPzwVM7dhT4CxqFgljShQYmFLvAnoQGOaPe7U-ZoZENQX2NxiFgz7dTZhdsHEWt5AZ606eHIMyxzhQEPqBZmDqh5gw3Z7EX2Lwt0-4a5Q-hfh4zYCJQPDKlMX_vFT69AZzTB-AfuFFv2o_ZjeRv32q-VQh0V5Hhjf1atRRq7K04ONEQpLxgwDthIGxJYgNYIC38ys0MT1ZFvAGs8udlE0Es_zk2BN3i_eudx7TAvHeXl8sDotzf7_D92ipgD_iTBMlIfIk0UOIDHlMBNy5DHMcvYVE6P0NGsdLXi58lRQ03pM4n_4C1w-eJD3kpR_zIlOslc5fPm5DzOxqUSUokRUTkHUcE3CHLCFmcFzAZZlxWTwRWwUvmKsLkpcyx7kjUf9UGNNvHpDPpEz5EBGIrFT6CHGGuXN1B0OKbcJeZj2Ooe4Wh7o4FytbbWy5KXFF1fqwOR7Wel1uV121bmhtcWePa9yitus92rqsddMcmiPqQ71yldFmp43emo3erLcF7Ru7LXdHo_doN2Wjtpp6dL7wfuqLmNqVy3mkam12h8Nh5fFKPi9XhDFPm41cGKkSzMt1bLPaau8y52cVduypuhCypJfo50iZ5ex1OJF0kNrrx2lXew30c3QTejlZv_fIaky-6piHLNeFuShzaR1347WoY6_MRbZ7_L0MKf5LNStzWRRkZS4PEVNl_gsAAP__XCypYA">