I run a script for debugging from VSC.
📁 debug, work, project
It has a large loop that runs for many hours. Sometimes the task completes fully, sometimes it stops at an arbitrary place without errors. All exceptions are caught and passed through pass so that the script runs to the end even if there are some problems in individual iterations of the loop. How to understand why it stops? How to restart it if a stop occurs?