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
I am trying to debug an encore golang application that i am developing under Mac silicon.
According to the documentation it should be straight forward.
I start encore in debug more: encore run --debug
encore run --debug
✔ Building Encore application graph... Done!
✔ Analyzing service topology... Done!
✔ Creating PostgreSQL database cluster... Done!
✔ Generating boilerplate code... Done!
✔ Compiling application source code... Done!
✔ Running database migrations... Done!
✔ Starting Encore application... Done!
Encore development server running!
Your API is running at: http://127.0.0.1:4000
Development Dashboard URL: http://localhost:9400/test-app-encore-7zri
Process ID: 28430
i try to attach DLV to the above process id
/Users/dimaash/go/bin/dlv --log=true attach 28430
but it tells me:
2024-06-19T14:29:07-04:00 info layer=debugger attaching to pid 28430
Trying to attach to a translated process with the native debugserver, exiting...
could not attach to pid 28430: stub exited while waiting for connection: exit status 1
my go version is:
go version
go version go1.22.4 darwin/arm64
My VScode is a silicon version.
I am able to debug with dlv other golang ( non encore ) applications just fine.
Anyone knows what is this
"Trying to attach to a translated process with the native debugserver, exiting"
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 everyone,
I am trying to debug an encore golang application that i am developing under Mac silicon.
According to the documentation it should be straight forward.
but it tells me:
my go version is:
My VScode is a silicon version.
I am able to debug with dlv other golang ( non encore ) applications just fine.
Anyone knows what is this
"Trying to attach to a translated process with the native debugserver, exiting"
issue and how to get around it ?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions