How do I debug an error on Heroku that won't show up in dev or production mode locally?

marcamillion

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?

Almaron

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.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

android map v2 won't show in debug mode

From Dev

android map v2 won't show in debug mode

From Java

How can I debug my Quarkus application that is running in dev mode?

From Dev

ComboBoxes won't show up

From Dev

ComboBoxes won't show up

From Dev

I added a SECRET_KEY config variable to my Django app on Heroku but now it won't work locally

From Dev

I added a SECRET_KEY config variable to my Django app on Heroku but now it won't work locally

From Dev

How can I turn my Symfony 4 application from dev mode into production mode?

From Dev

How do I get Emacs projectile-mode to ignore most of the files that show up in a virtualenv Cython project?

From Dev

Heroku logs confirm an email is being sent, but emails do not show up in mail box (production only)

From Java

How do I "shake" an Android device within the Android emulator to bring up the dev menu to debug my React Native app

From Dev

Artisan won't work in production but works fine locally

From Dev

Rails how to switch between dev and production mode?

From Java

How do I set up linkage between Docker containers so that restarting won't break it?

From Dev

Rails App works locally but giving an error on production on Heroku

From Dev

DDMS Won't Show Debug Output

From Dev

DDMS Won't Show Debug Output

From Dev

AngularJS: How do I force Chrome's Dev Console to show me which instruction caused the error?

From Java

How do I detect if I am in release or debug mode?

From Dev

Rendering template won't work on heroku but works locally

From Dev

Angular Ionic App - ui-slider won't show up and neither ion-range-how can I make it visible?

From Dev

How do i block page from production but show in development in nuxt?

From Dev

How do i block page from production but show in development in nuxt?

From Java

How do I simulate user input in debug mode?

From Dev

Android action bar won't show up

From Dev

Angular Directive won't show up

From Dev

Positioning JButton on JFrame won't show up

From Dev

JPanels won't show up in Cardlayout container

From Dev

My section won't show up

Related Related

  1. 1

    android map v2 won't show in debug mode

  2. 2

    android map v2 won't show in debug mode

  3. 3

    How can I debug my Quarkus application that is running in dev mode?

  4. 4

    ComboBoxes won't show up

  5. 5

    ComboBoxes won't show up

  6. 6

    I added a SECRET_KEY config variable to my Django app on Heroku but now it won't work locally

  7. 7

    I added a SECRET_KEY config variable to my Django app on Heroku but now it won't work locally

  8. 8

    How can I turn my Symfony 4 application from dev mode into production mode?

  9. 9

    How do I get Emacs projectile-mode to ignore most of the files that show up in a virtualenv Cython project?

  10. 10

    Heroku logs confirm an email is being sent, but emails do not show up in mail box (production only)

  11. 11

    How do I "shake" an Android device within the Android emulator to bring up the dev menu to debug my React Native app

  12. 12

    Artisan won't work in production but works fine locally

  13. 13

    Rails how to switch between dev and production mode?

  14. 14

    How do I set up linkage between Docker containers so that restarting won't break it?

  15. 15

    Rails App works locally but giving an error on production on Heroku

  16. 16

    DDMS Won't Show Debug Output

  17. 17

    DDMS Won't Show Debug Output

  18. 18

    AngularJS: How do I force Chrome's Dev Console to show me which instruction caused the error?

  19. 19

    How do I detect if I am in release or debug mode?

  20. 20

    Rendering template won't work on heroku but works locally

  21. 21

    Angular Ionic App - ui-slider won't show up and neither ion-range-how can I make it visible?

  22. 22

    How do i block page from production but show in development in nuxt?

  23. 23

    How do i block page from production but show in development in nuxt?

  24. 24

    How do I simulate user input in debug mode?

  25. 25

    Android action bar won't show up

  26. 26

    Angular Directive won't show up

  27. 27

    Positioning JButton on JFrame won't show up

  28. 28

    JPanels won't show up in Cardlayout container

  29. 29

    My section won't show up

HotTag

Archive