What techniques (other than alert(message);
) do you use to debug JavaScript/jQuery? Give particular attention to browser specific techniques.
Tools
console.log(message)
- alternative toalert(message);
(Nirmal)- browser-safe call (soslo)
- jsFiddle - demonstrations (Craver)
- BlackBird - writing messages to the screen (Oli)
FireFox
Chrome
- Built-in development tools (tutorial)
- Firebug Lite (extension)
Safari
- Built-in tools (overview - jsummers) (more information)