-
Step 1
Sign into your Firebug account on the website on which you want to execute the JavaScript. Navigate to the Document Object Model (DOM) pane of Firebug.
-
Step 2
Click on the "JavaScript Executor" button on the console page. It is located next to the red arrow on the left side.
-
Step 3
Press the yellow arrow at the bottom of the JavaScript executor window to see a multi-line executor.
-
Step 4
Enter one or two command lines to execute and press "Enter."
-
Step 5
Test the website's JavaScript functions and set benchmarks. Add "console.profile([title])" to the start of the JavaScript function and "console.profileEnd()" to the end of the functions you want to benchmark.
-
Step 6
Switch to the "Script" tab and select a breakpoint from the drop-down list of functions. Click on the number in the left side to set the breakpoint. JavaScript pauses at a particular piece to view the value of the variable.











