Closed mynkkmr closed 6 months ago
Given that golang.go
is not the only extension that failed with the error (vscode.debug-server-ready
, which is VS Code's internal extension) also failed, and the stack trace doesn't indicate this extension code path, I guess this is a vscode's issue.
Can you reinstall VS Code and Go extension? If the problem doesn't go away, please open an issue to github.com/microsoft/vscode mentioning vscode.debug-server-ready
extension's failure. Thanks!
@hyangah I tried the steps you shared after seeing no progress I reported out to vs code team. And they replied it is the plugin problem.
I wanted to provide an update regarding the issue we discussed. After some investigation, I found that the root cause of the problem was the lingering extension folder in VSCode.
I deleted the extension folder, which was left behind even after uninstallation. Surprisingly, this resolved the issue I was facing. Everything seems to be working as expected now. Thanks to @hyangah for the invaluable assistance!
Issue Description
I encountered an issue while trying to use the Golang Debug Mode in the VSCode plugin. The error message indicates a TypeError: Cannot read properties of undefined (reading 'GOPATH'). This issue seems to be originating from the notificationsAlerts.ts file at line 40.
Steps to Reproduce
Environment Details