No se pueden leer los errores de JavaScript en la consola de Firebug antes de que se vuelva a cargar la página

I'm debugging some JavaScript and I have a submit button that should run a jquery function to run a script via Ajax. When I click the button, an error is displayed in the Firebug console but I don't have time to read it before the form is submitted and thus the page is reloaded.

preguntado el 08 de noviembre de 11 a las 19:11

4 Respuestas

In version 1.8.3 (at least) you can click the "Persist" button to keep console information around after reload.

respondido 08 nov., 11:23

Use the Persist button to not clear the console

respondido 08 nov., 11:23

I would suggest you to simply use alert(err);.

Sometimes alerts just works better.

respondido 09 nov., 11:20

Go to browser console settings --> Check "Preserve Log"

Respondido 07 ago 20, 16:08

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.