Sencha ExtJS and Touch debugging tip - Use the Chrome console (or Firebug console)

There’s a great Sencha debugging tip in the book, Mastering ExtJS: While running your Sencha application, type whatever JavaScript code you need into the Chrome console (or Firefox Firebug). For instance, I was having a problem selecting a widget in my application with the down method, so I took to the console and kept typing code like Ext.ComponentQuery.query(’mytextfield’) until I was able to select what I wanted. Another nice tip is to add fadeOut().fadeIn() to the end of a component query like this, to see that you really selected what you want.