Created
July 27, 2025 03:29
-
-
Save RyanJarv/14b326479e9e013786e7bb6fd4994236 to your computer and use it in GitHub Desktop.
Tree Sitter MCP Debug bug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import logging | |
| logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s') | |
| log = logging.getLogger(__name__) | |
| def main(): | |
| log.debug("Debug logging works!") | |
| import mcp_server_tree_sitter | |
| log.debug("But once we import mcp_server_tree_sitter, it breaks the logging.") | |
| if __name__ == "__main__": | |
| main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment