<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/120839>120839</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[lldb-dap] VS Code extension does not work (Couldn't find a debug adapter descriptor)
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
kyrylo-sovailo
</td>
</tr>
</table>
<pre>
Hi! I'm testing all popular VS Code extensions I could find and unfortunately LLDB DAP fails to launch. Here is my launch.json entry:
```
"extension_name": "LLDB DAP",
"name": "LLDB Debug (LLDB DAP)",
"type": "lldb-dap",
"request": "launch",
"initCommands": [ "shell make -C ${workspaceFolder} all" ],
"program": "${workspaceFolder}/build/main_clang",
"cwd": "${workspaceFolder}/build",
"args": [ "TEST" ],
"env": { "DEBUG_SANDBOX_TEST" : "TEST" }
```
When I press the debug button, two things happen. In the centre of the screen I see an error window with `Couldn't find a debug adapter descriptor for debug type lldb-dap (extension might have failed to activate)`.
Also in the lower right corner I see VSCode error with `Debug adapter path: /home/kyrylo/.vscode/extensions/llvm-vs-code-extensions.lldb-dap-0.2.8/bin/lldb-dap is not a valid file`.
It is a rather normal VSCode (1.95.3) installation on Gentoo. LLDB DAP is the only installed extension. `lldb` is installed and works, `lldb-dap` is installed and runs.
Cheers.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUVEGv2zYM_jXKhYjhMIkdH3xI4rp9QLENeF2324NiMbb6ZMmT5GT594NsJ067DdiCXCx-JD-SH8mdk7Umytn2wLbFgve-MTZ_v9mbMktnLlwqszgZccs_SYYreGGYtuDJealr4EpBZ7pecQtfX-FoBAH96Uk7abSDF6hMrwScpRbAtYBen431veae1A0-fy4OUOx_gTOXyoE3oHivqyaCT2QJpIP2dn_65owG0t7e2HrP4j1L4ukf7xniI-mb5i0xRLbeAwBDvCcJb3gc0U-YB4JOfQ0MdzM-e3b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