I am starting out with Firebug.
I have a JS file that has some JQuery in it.
how do I debug that code when the HTML page rendered does not have any javascript just ref to my file.
thanks Malcolm
If you go to the script tab there'll be a little drop down box that will you let you select any scripts linked to in the page. Won't help you much if they're minified though...
Open Firebug. Click on "Script" then choose your external JS-File from the dropdown menu.
You can add "debugger;" string before the line which you want to debug.
This will invoke Firebug's JS debugger.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With