Debugger Client API: Difference between revisions

Jump to navigation Jump to search
Line 19: Line 19:
   client.addListener("tabNavigated", onTab);
   client.addListener("tabNavigated", onTab);
   client.addListener("newScript", onScript);
   client.addListener("newScript", onScript);
   client.ready(function(aType, aTraits) {
   client.connect(function(aType, aTraits) {
     // Now the client is conected to the server.
     // Now the client is conected to the server.
     debugTab();
     debugTab();
Line 46: Line 46:
   client.addListener("tabNavigated", onTab);
   client.addListener("tabNavigated", onTab);
   client.addListener("newScript", onScript);
   client.addListener("newScript", onScript);
   client.ready(function(aType, aTraits) {
   client.connect(function(aType, aTraits) {
     // Now the client is conected to the server.
     // Now the client is conected to the server.
     debugTab();
     debugTab();
   });
   });
}
}
</pre>  
</pre>
 
== Shutting down the Debugger<br>  ==
== Shutting down the Debugger<br>  ==


Confirmed users
231

edits

Navigation menu