AstroNvim / AstroNvim/astrocommunity
DAP pack in astrocommunity.pack.typescript is missing typescript dap support
- Dominant language
- Lua
- Stars
- 1.7k
- Forks
- 313
- PR merge metrics
- No merged PRs in 30d
Description
I have this error with the typescript pack:
```text
Error executing luv callback:
.../.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1187: adapter.port is required for server adapter
stack traceback:
[C]: in function 'assert'
.../.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1187: in function <.../.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua:1179>
```
I already deleted ~/.cache/nvim and ~/.local/nvim and performed a very clean installation and the same error happens.
The adapter is being executed:

Due to this, if I try again after executing the debug the first time, it fails with another error saying there is already another process running (which makes sense...)
Any ideas what could be wrong?
Contributor guide
Research direction
Start at the astrocommunity.pack.typescript DAP pack and review the nvim-dap adapter error shown in the report, especially the missing server port. Reproduce the TypeScript debugging setup, then verify that the adapter starts successfully and a second debug attempt does not leave a duplicate process.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim, typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100