Crashing after a few hours appears to be a common problem with software for the #esp8266. I have had this issue both with #Espruino and my #PubSubClient based programs.
How does one debug this?
#esp8266 #espruino #pubsubclient