Debugging utilities