function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
TigerPowerTigerPower 

Debugging S-Controls with Firebug - How To?

Hi,
I'm just getting started with s-controls. Found out in the cookbook, that it's possible to debug scontrols with Firebug. How's that? How do I do it? If I'm logged in Salesforce and looking at my scontrols (and Firebug is enabled in my browser)... so the Firebug is pretty much debugging the page HTML, script etc. and not the scontrol I would like to choose.

Thank You!
"Getting started - or at least trying very hard" :smileysurprised:



SteveBowerSteveBower
In the javascript in your s-control, have you included the command:  

debugger;

In your script somewhere?  Do that and it bring up the interactive debugging environment.

-Steve

TigerPowerTigerPower
Ok, thanks... I'm now more familiar with firebug (and the code is working too :smileywink:)
I'm so happy!!