Using terminal session while the application has cashed

Hi,

Currently it’s not possible to start terminal session to a device when there’s no app running.

When the application has crashed there’s no way to connect to the device to debug the problem?

For example I want to see the npm log file.

Kind regards,
Frederik

1 Like

Hey Frederik,

As the web terminal connects directly inside the running container in order for you to gain access to the session relating to the application you’re running, it’s obviously the case that a build failure cannot allow you to obtain a session.

I’ll raise adding the ability to access host OS for accessing things like build logs with the team!

Best, Lorenzo

For development I just put an infinite loop at the end of my start.sh script. If my main app fails the infinite loop keeps the container running so I can access it via a terminal session

1 Like