MCPcopy Create free account
hub / github.com/IBM/mcp-cli / enable_debug

Method enable_debug

diagnostics/cli_tools_diagnostic.py:84–88  ·  view source on GitHub ↗

Enable debug mode with optional validation tracing.

(self, trace_validation: bool = False)

Source from the content-addressed store, hash-verified

82 self.logger = logging.getLogger(__name__)
83
84 def enable_debug(self, trace_validation: bool = False):
85 """Enable debug mode with optional validation tracing."""
86 self.debug_mode = True
87 self.trace_validation = trace_validation
88 self.logger.setLevel(logging.DEBUG)
89
90 def log_debug(self, message: str, **kwargs):
91 """Debug logging with rich formatting if available."""

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected