Ad

icecream: Sweeten your debugging with easy-to-use inspection.

IceCream simplifies debugging by providing a fast and concise alternative to `print()`, offering enhanced features and flexibility.
Screenshot of gruns/icecream homepage

IceCream allows users to inspect variables and expressions during runtime, offering a more informative debugging experience than standard print statements. It's like print(), but with added benefits like syntax highlighting and context. IceCream supports Python 3 and PyPy3, and integrates well with existing code.

IceCream provides syntax highlighting and pretty-prints data structures for improved readability. It offers flexible configuration options including prefix customization and output formatting. The library integrates seamlessly and can be easily enabled/disabled. It also supports advanced features like integrating with external debugging tools and different output options.

  • Variable Inspection: Displays variables and expressions with their values, including data types and structures. - Execution Context: Shows the file name, line number, and parent function for enhanced context. - Customizable Output: Allows configuring prefix, output function, and includeContext behavior. - Shell Integration: Supports debugging tools such as Visual Studio Code with file path links. - Extensible: Supports custom toString functions for specific object types and is compatible with other languages.

IceCream has been actively maintained with recent commits and a strong community presence. It features comprehensive documentation and a clear release history, indicating stability and ongoing development. The project benefits from contributions from multiple developers.

Developers benefit from IceCream's ease of use and powerful inspection capabilities, significantly improving debugging efficiency. It's valuable for quickly understanding program state and pinpointing issues, offering a cleaner and more informative debugging experience compared to traditional print statements.

Languages:
Summarize:
Share:
Stars
10,055
Forks
224
Issues
65
Created
8 years ago
Commit
17 days ago
License
MIT
Archived
No
Updated 13 days ago

Similar Repositories