10

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.

4 Answers 4

13

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

Sign up to request clarification or add additional context in comments.

Comments

9

Use the Persist button to not clear the console

Comments

0

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

Sometimes alerts just works better.

Comments

0

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.