Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know how to do it in Firefox - how do I see Javascript errors in Chrome?

share|improve this question
add comment

4 Answers

You have following options:

  • Chrome: Press Ctrl+Shift+J (Cmd+Option+J on Mac) and it will give similar functionality. Also consider checking out JavaScript debugger in Chrome. Hitting F12 works as well.

  • IE7: Nothing built in. But have a look at IE Developer Toolbar.

  • IE8: Just hit F12 and you will get access to some very capable built-in tools. Error console is on Script tab.

  • Firefox: Just use FireBug.

  • Opera: Press Ctrl+Shift+I (Cmd+Option+I on Mac) to launch Opera Drangonfly which is a fully featured development and debugging tool integrated into the Opera browser.

  • Safari: Enable the Developer Menu from Safari's preferences. It will give access the various tools (Error Console, Web Inspector, JavaScript Profiler, etc). Of course there are also shortcuts, like Cmd+Alt+C for the console.

share|improve this answer
    
Please do not include irrelevant links in posts, especially if you are directly affiliated with the website being linked. All self-promotion must correspond to the rules outlined in the FAQ. –  nhinkle Nov 24 '12 at 9:30
add comment

Any of these:

  • Hit F12 or Ctrl+Shift+I
  • right-click on any element on the page, and "Inspect Element"
  • Wrench button -> Tools -> Developer Tools

Then go to Console tab

share|improve this answer
add comment

Also, when you are viewing are a page, right-click, select 'Inspect element'

This opens Developer tools in html inspector mode - select 'console' and you can view errors by clicking 'errors' at the bottom

share|improve this answer
add comment

found it myself: developer tools, then there's a symbol at the bottom left "show console"

share|improve this answer
    
For other options, see webkit.org/blog/197/web-inspector-redesign and developer.apple.com/safari/library/documentation/… (though written for Safari, many things are based on WebKit). –  Arjan Oct 7 '09 at 13:54
    
(And please accept your answer to mark the question as solved) –  Arjan Oct 7 '09 at 14:20
    
i will as soon as i can... "you can accept your own answer in 2 days" so this is a chance for easy points: post my answer yourself and I'll accept you. :D –  Epaga Oct 7 '09 at 14:38
    
Please don't forget to accept this (or Millhouse's answer) as otherwise the question will keep popping up. Thanks. –  Arjan Nov 6 '09 at 17:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.