I am getting this error while running the project in debug mode.
Failed to launch Version of go is too old for this verion of delve(minimum supported version 1.15)
Currently go 1.13 is installed in my machine. If I upgrade go to the version 1.15 debugger is working fine. But this not the solution I am looking for. I want to make the debugger work with the current version of go. If you have any solution for this please let me know.
Thanks for your help in advance.
It's possible to disable the warning, but the recommended is downgrade Delve.
To disable the warning:
"dlvFlags": ["--check-go-version=false"]
To downgrade Delve:
go install github.com/go-delve/delve/cmd/dlv@v<DELVE_VERSION>
Example: Downgrade to 1.7.3:
go install github.com/go-delve/delve/cmd/dlv@v1.7.3
Check the Delve version for seeing that is installed:
dlv version
More details in: https://github.com/go-delve/delve/tree/master/Documentation/installation