If your Script Panel is disable please enable it by following the instruction provided in above snapshot. After enabling the script panel do not forget to reload your page. After enabling and reloading your page. If you are getting following screen, you are all set to go with debugging
I am going to debug auto complete of my magento page.
Step 1:- Opening firebug script panel and finding the code from where we want to start debugging or we need to add breakpoint.|
- F8 : To go on next breakpoint in the javascipt
- F11: Step Into the function execution.
- F10: Go to next line of the code.
- SHIFT + F11 : To ignore all further breakpoint
- Select the variable.
- Right Click on the selected variable and select Add Watch option.
- Now on right side in the firebug go to watch panel and you can see the variable has been added.
- Click on the plush + button and you can see the variable value on run time. Following is the snapshot.
Thank you for reading my post.