Added debugging best practices