Is there a way to autocomplete variables in VS Code while debugging in Go?

39 Views Asked by At

does anyone know if there is a way for VS Code to recognize the variables defined in my Go program while I am debugging (for autocomplete)? For example, in this case, when typing "po" it came out to complete "port" in the debug console (as happens in interpreted languages).

enter image description here

I am remote debugging a docker container using air. Thank you

0

There are 0 best solutions below