Skip to content

Instantly share code, notes, and snippets.

@RyanJarv
Created July 27, 2025 03:29
Show Gist options
  • Select an option

  • Save RyanJarv/14b326479e9e013786e7bb6fd4994236 to your computer and use it in GitHub Desktop.

Select an option

Save RyanJarv/14b326479e9e013786e7bb6fd4994236 to your computer and use it in GitHub Desktop.
Tree Sitter MCP Debug bug
#!/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