Falcon for app development: interactive debugging #319
Unanswered
robsimpsondev
asked this question in
Q&A
Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What's the easiest way to interactively debug a Falcon server's worker process from the terminal?
At the moment I'm using debug gem, so adding
debuggercalls in the source code and using$ bundle exec rdbg -c "falcon serve -n 1". This works but I end up with a hanging falcon process when trying to exit.The Puma default behaviour (
Puma starting in single mode...) is that the calling terminal receives debugging console I/O whendebuggerorbinding.pryis called, which is very convenient (no need to find and attach to process, or wrap in an$ rdbgcall). I'm curious what others are doing. Great project. Thank you.Beta Was this translation helpful? Give feedback.
All reactions