close

[Solved] Couldn’t start dlv dap: Error:timed out while waiting for DAP server to start

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 ?

  1. 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.

  2. 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.

  1. Open Your Vs Code Studio.
  2. If You are on Windows then press Ctrl+Shift+P
  3. if you are on linux then press ++P
  4. Run “Go: Install/Update Tools”
  5. Now mark dlv & dlv-dap from the menu
  6. then hit ok to start install/update
  7. 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

Please Rate Our Solution to Motivate Us For Give Our Best

Leave a Comment