You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Do you know if there is some way to reattach the debugger after air rebuilds the executable.
For instance, let's say I'm using VS Code for developing Go application and I am debugging the application using "Attach to Process" feature in VS Code Go debugger. Unfortunately, I can only debug the application by attaching to the process due to generated code from Wire (Google tool that allows for code generation of dependency injection).
Then I make a change to the code and air notices that change and does a regeneration and rebuild (go generate && go build), but since the process is stopped the VS code debugger stops and doesn't automatically reattach to the process started by Air.
I've looked to see if there is a command that can be used to restart the debugger in VS Code but couldn't find anything. Do you know if there is a way? Thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi. Do you know if there is some way to reattach the debugger after air rebuilds the executable.
For instance, let's say I'm using VS Code for developing Go application and I am debugging the application using "Attach to Process" feature in VS Code Go debugger. Unfortunately, I can only debug the application by attaching to the process due to generated code from Wire (Google tool that allows for code generation of dependency injection).
Then I make a change to the code and air notices that change and does a regeneration and rebuild (go generate && go build), but since the process is stopped the VS code debugger stops and doesn't automatically reattach to the process started by Air.
I've looked to see if there is a command that can be used to restart the debugger in VS Code but couldn't find anything. Do you know if there is a way? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions