Is there any way to do it? I often have issues that work locally but fail on Heroku for some reason related to the environment. It would be nice to be able to run the debugger there.
Run ruby-debug on Heroku
Asked Answered
Yes, it's when there's a unique issue such as with the filesystem when I really want to use the debugger. –
Soloman
you can't write to the filesystem in heroku (except with /tmp but I don't remember right now exactly), can we see the code? –
Sciamachy
It's related to this question: #6417975 –
Soloman
I doubt this would be possible. Sounds like a good idea though. –
Nne
Currently apps do not have interactive debugging on Heroku. You do have access to the logger, however.
References
- See Heroku's docs on Writing to Your Log and Log Retrieval.
© 2022 - 2024 — McMap. All rights reserved.