Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I think you are putting too much efforts in inbuilt debugger,</p> <p>to debug javascript you must use fireBug its best tool,</p> <p><a href="https://addons.mozilla.org/en-US/firefox/addon/firebug/" rel="nofollow">This Link</a> is for the addon of firebug, download and install the add-on its hardly 2 MB and then you will enjoy debugging.. :)</p> <hr> <p>Edit: Selector in Debugger</p> <p>I was searching answer for your specific question, and found out this</p> <p><a href="https://developer.mozilla.org/en-US/docs/Tools/Web_Console" rel="nofollow"><code>Web Console Method</code></a></p> <p>Now here you are able to debug, get element and get selector details too.. (Refer <strong>Basic Usage</strong>)</p> <p>You can directly access variables defined on the page:</p> <pre><code>&gt; $ function(selector, context){ return new jQuery.fn.init(selector,context); } </code></pre> <p>please refer the above link for more details..</p> <p>If native console is not available refer this <a href="https://developer.mozilla.org/en/docs/Debugging_JavaScript" rel="nofollow">link</a>, this says,</p> <p>Under Microsoft Windows you additionally need to start Firefox via the following command to have a native console :</p> <p><code>firefox.exe -console</code></p> <p>so that will enable firefox to start with console..</p> <p>Edit: Log To log the element tested>> refere <a href="http://developer.mozilla.org/en-US/docs/Tools/Web_Console/Helpers" rel="nofollow">this link</a> in that refer pprint() that will also behave in the same way.</p> <p>Also <a href="http://developer.mozilla.org/en-US/docs/Web/API/console" rel="nofollow"><code>Console API</code></a> there refer <a href="http://developer.mozilla.org/en-US/docs/Web/API/console.log" rel="nofollow"><code>console.log</code></a></p> <p>I hope this will help..</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload