PythonMonkey
PythonMonkey copied to clipboard
Add timeout debug verbose like those in dcp-timer.js which we are replacing, and add debug flag to dcp-timers
Issue type
Bug
How did you install PythonMonkey?
None
OS platform and distribution
No response
Python version (python --version
)
No response
PythonMonkey version (pip show pythonmonkey
)
No response
Bug Description
Now that we will use our own setTimeout calls etc and not the ones from dcp-timers, reproduce the debug facility in timers.js
See https://gitlab.com/Distributed-Compute-Protocol/dcp/-/blob/wes/DCP-4054/make-dcp-client-grok-pythonmonkey/src/common/dcp-timers.js?ref_type=heads#L61
and
https://gitlab.com/Distributed-Compute-Protocol/dcp/-/merge_requests/2669/diffs#621b29c83d193f259581eb1b3fd1187d377684ba_55_54
Also add a debug flag to dcp-timers the likes of debugging('backoff') so that they are not always on and are turned on selectively
Standalone code to reproduce the issue
No response
Relevant log output or backtrace
No response
Additional info if applicable
No response
What branch of PythonMonkey were you developing on? (If applicable)
No response