MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _term_reader

Function _term_reader

webapp_modern.py:14248–14266  ·  view source on GitHub ↗

Background task: pump PTY output to the browser until it closes.

(sid, fd)

Source from the content-addressed store, hash-verified

14246def get_verbose_debug_logs():
14247 """Get super verbose debugging logs for tracing data flow issues"""
14248 try:
14249 debug_info = {
14250 'timestamp': datetime.now().isoformat(),
14251 'system_state': {},
14252 'data_sources': {},
14253 'cache_state': {},
14254 'sync_information': {},
14255 'file_operations': {},
14256 'api_traces': [],
14257 'errors_and_warnings': []
14258 }
14259
14260 # === SYSTEM STATE DEBUGGING ===
14261 debug_info['system_state'] = {
14262 'shared_data_targetnbr': getattr(shared_data, 'targetnbr', 'NOT_SET'),
14263 'shared_data_total_targetnbr': getattr(shared_data, 'total_targetnbr', 'NOT_SET'),
14264 'shared_data_inactive_targetnbr': getattr(shared_data, 'inactive_targetnbr', 'NOT_SET'),
14265 'shared_data_portnbr': getattr(shared_data, 'portnbr', 'NOT_SET'),
14266 'shared_data_vulnnbr': getattr(shared_data, 'vulnnbr', 'NOT_SET'),
14267 'shared_data_crednbr': getattr(shared_data, 'crednbr', 'NOT_SET'),
14268 'shared_data_levelnbr': getattr(shared_data, 'levelnbr', 'NOT_SET'),
14269 'shared_data_coinnbr': getattr(shared_data, 'coinnbr', 'NOT_SET'),

Callers

nothing calls this directly

Calls 4

_term_cleanupFunction · 0.85
emitMethod · 0.80
readMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected