I have an issue with an app that is doing one thing strangely (or not doing something I expect) only when pushed to Heroku and not in either development or production environments locally.
I tried putting binding.pry in my code, but it simply crashed Heroku.
How do I debug the instance on Heroku where the error is showing up?
Edit 1
I tried viewing my logs from Heroku, by doing heroku logs --tail
but those are production environment logs. Not the detailed development logs that I would love to see. Is there anyway for me to retrieve development logs from Heroku to view?
I think your best option is using heroku logs
from your app folder.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments