Firebug not showing Javascript errors for Rails applications
Posted
by 99miles
on Stack Overflow
See other posts from Stack Overflow
or by 99miles
Published on 2010-04-16T22:28:57Z
Indexed on
2010/04/16
22:33 UTC
Read the original article
Hit count: 444
I have a Rails application, and when I have Javascript errors they are not showing in the Firebug console. I have 'Show javascript errors' and 'Show javascript warnings' selected.
When I insert javascript errors in a basic html file, the errors show as expected.
In the javascript of the Rails app, it only shows errors in rare cases. For example i can insert nonsense like:
dfghaefb;
and no error is shown in Firebug. But if i insert a space in there Firebug does show the error:
dfgh aefb;
Any ideas? This is driving me nuts.
© Stack Overflow or respective owner