godot-debugging
Installation
SKILL.md
Godot Debugging Guide
Comprehensive debugging workflow and common issue resolution for Godot 4.x.
Output Methods
print() vs push_error() vs push_warning()
# print() — General output, filtered in editor output
print("Debug: position = ", position)
print("Debug: player health = ", player_health)
# printf-style formatting
printf("Player %s has %d health", player_name, health)
# push_error() — Shows in red, includes file and line number
push_error("Failed to load resource: ", resource_path)