Debug helper tools