title: How to use code in firefox console and get information about fired event in extjs4?
body: <p>I am working in extjs4. Here I want to stuck at a point where I want to get information of event which is fired on a component of extjs4.i am using this link but I am not succeed.</p>
  
  <p><a href="http://loianegroner.com/2009/11/ext-js-which-events-are-fired-by-a-component/" rel="nofollow noreferrer">http://loianegroner.com/2009/11/ext-js-which-events-are-fired-by-a-component/</a></p>
  
  <p>i am using this code in firefox firebug command line...but not get any event when particular action get fired on a component.I dont know how to use it.Please give me some guideline...</p>
  
  <p>Here is the code I am going to use it in firebug console command</p>
  
  <pre><code>Ext.util.Observable.capture(Ext.getCmp('loginId'), console.info); 
  </code></pre>
  
  <p>I dont know how to use it and get succeed..please give me some advise..</p>
  
  <p>here Is the screen shot of firebug how I am using.
  <img src="https://i.stack.imgur.com/l7zaR.png" alt="firebug console">
  Please tell me is it correct or wrong.</p>
  
  <p>Please tell me how to use it...</p>