I am trying to create a very simple synatra application deployed on heroku.
our application does not output material to a web browser; it communicates with another computer through the API. so my usual trick just printing a little extra info about debugging in the browser while I use the application doesn't work.
The sample code I saw for related applications shows several βputsβ or βpβ expressions that are used to see what happens ...
where the output is output, that I can see that the output is executed by the program or after that.
and in general, if you come across a code hosted in Heroku that just doesnβt do what you want, the easiest way is in different places of the code output messages, such as "foo equals 123", so you can see this output, to find out what is going on in the code?
p and puts the dont output, so the logs that I can see when I print "hero logs", for example ...
jpwynn
source share