Hello everybody! I am still developing things on this amazing platform

Nevertheless, this time I am encountering a problem whose root cause I cannot understand.
I am programming the RevPi using SSH via a remote connection. So far so good. Btw, randomly, it closes the connection and even if the RevPi is up, is impossible to connect again.
When this happened, I saw that the PWR LED turned red and then green again, making me think it was something connected to the watchdog. I would like to dig a little more into it, but I have no idea where to start.
I take advantage of this problem to kindly ask for a general approach to RevPi debugging, to gain some skills in this direction

Thank you again to the community for the support.
Best regards

Ps: I am programming it using VSCode!