Debug Without WIFI

Hello,

I’m developing a node.js application for raspberry pi. In case I have no wifi access, what is the easiest was to get the debug logs of my script. I do have a HDMI display connected and I can login as root, but how do I end up in the docker image and display the logs of the running application? Thanks.

Found an answer to my own (beginner) question. maybe helpful for others.

For some reason, I made the false assumption that these were docker images. Therefore, it was weird that normal dockers commands didn’t work. Found out that balena is used.

To debug offline, run from root

balena container ls

copy your container id and run

balena attach <containerid> 

and you will see your logs offline.