Web Inspector allow you debug Javascript right in the editor