Closed whomwah closed 5 years ago
@whomwah one solution to this is using pry-remote, though I admit it's annoying and using the normal pry is much more convinient. @adamcooke, great job :green_heart:
@AlexVPopov yes, I've seen than. Like you say though, it can be a bit flaky and seems more of a band-aid, because you can't do what you'd really want to.
Oh yes, that would be a great addition! +1
Maybe using tmux windows to run (some) processes in the foreground? https://github.com/tmuxinator/tmuxinator is a ruby project that controls tmux which might be used (if it has a usable api)
it'd be great! :+1:
Having the ability to debug via binding.pry statements is the main reason I typically just run rails server or similar commands directly rather than using something else. I agree that it would be great if procodile played nicely with pry/binding.pry.
@adamcooke Any thoughts regarding this question?
procodile
looks great @adamcooke, thank you! One thing that has always been an issue with these kind of process managers is handling breakpoints in local development. I guess because the code you're adding the breakpoint to is being managed by another process.Can you think of a way this could be solved in
procodile
. The use case is to be able to put something likebinding.pry
in my code and be able to debug as I would if I was running it manually without it being swallowed.