What the best reference and best practice for web debugging?

Please anyone tell me what the best reference and best practice for web debugging?