3

While hunting a Javascript error related to form submission. I saw an error appear in the Web Inspector then disappear immediately since the form submits and refreshes the page. Is there a console history or scrollback? How can I see what the error is?

Regis Frey
  • 888
  • 1
  • 11
  • 21
  • Can you post the submit handler? – Prestaul Apr 30 '10 at 03:16
  • I don't need help tracking the bug (it was looking for a variable that didn't exist) rather I want to learn how to catch errors like this using the Webkit console (or other tools). Thanks. – Regis Frey Apr 30 '10 at 04:29

1 Answers1

0

Chrome Webkit Console Preserve Log

In Chrome, look for the "Preserve Log" check box in the console.

In Safari (9+), right click in console and select "Keep Log on Navigation".

This was solved awhile back (Safari Developer Tools: How to Preserve Log Upon Navigation?) but since I encountered the question again I figured I'd include an answer.

Community
  • 1
  • 1
Regis Frey
  • 888
  • 1
  • 11
  • 21