MCPcopy Create free account
hub / github.com/google-deepmind/dm_control / debug_mode

Function debug_mode

dm_control/mjcf/debugging.py:69–77  ·  view source on GitHub ↗

Returns a boolean that indicates whether PyMJCF debug mode is enabled.

()

Source from the content-addressed store, hash-verified

67
68
69def debug_mode():
70 """Returns a boolean that indicates whether PyMJCF debug mode is enabled."""
71 global _DEBUG_MODE_ENABLED
72 if _DEBUG_MODE_ENABLED is None:
73 if FLAGS.is_parsed():
74 _DEBUG_MODE_ENABLED = FLAGS.pymjcf_debug
75 else:
76 _DEBUG_MODE_ENABLED = FLAGS['pymjcf_debug'].default
77 return _DEBUG_MODE_ENABLED
78
79
80def enable_debug_mode():

Callers 4

debug_modeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…