Hello Guys, How are you all? Hope You all Are Fine. Today I am just starting VsCode DLV dap debug and I am acing the following error Couldn’t start dlv dap: Error:timed out while waiting for DAP server to start in GoLang. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
How Couldn’t start dlv dap: Error:timed out while waiting for DAP server to start Error Occurs ?
I am just starting VsCode DLV dap debug and I am acing the following error.
Couldn't start dlv dap:
Error:timed out while waiting for DAP server to start
How To Solve Couldn’t start dlv dap: Error:timed out while waiting for DAP server to start Error ?
- How To Solve Couldn’t start dlv dap: Error:timed out while waiting for DAP server to start Error?
To Solve Couldn’t start dlv dap: Error:timed out while waiting for DAP server to start Error This issue occurs due to vs code Go extension’s latest update. Open Your Vs Code Studio. If You are on Windows then press Ctrl+Shift+P if you are on Linux then press ⇧+⌘+P Run “Go: Install/Update Tools” Now mark dlv & dlv-dap from the menu then hit ok to start to install/update Your Error should be fixed now.
- Couldn’t start dlv dap: Error:timed out while waiting for DAP server to start
To Solve Couldn’t start dlv dap: Error:timed out while waiting for DAP server to start Error This issue occurs due to vs code Go extension’s latest update. Open Your Vs Code Studio. If You are on Windows then press Ctrl+Shift+P if you are on Linux then press ⇧+⌘+P Run “Go: Install/Update Tools” Now mark dlv & dlv-dap from the menu then hit ok to start to install/update Your Error should be fixed now.
Solution 1: Go: Install/Update Tools
This issue occurs due to vs code Go extension’s latest update.
- Open Your Vs Code Studio.
- If You are on Windows then press Ctrl+Shift+P
- if you are on linux then press ⇧+⌘+P
- Run “Go: Install/Update Tools”
- Now mark
dlv
&dlv-dap
from the menu - then hit ok to start install/update
- Your Error should be fixed now.
Solution 2: switch the delveConfig to use legacy mode
Just switch the delveConfig to use legacy mode. Here is example
"go.delveConfig":{
"debugAdapter":"legacy"
}
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read