Remoting Prototype

From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
(Setup)
(Setup)
Line 21: Line 21:
** <code>extensions.firebug.serverHost</code> - name of the remote host (''localhost'' by default)
** <code>extensions.firebug.serverHost</code> - name of the remote host (''localhost'' by default)
** <code>extensions.firebug.serverPort</code> - remote port (5999 by default)
** <code>extensions.firebug.serverPort</code> - remote port (5999 by default)
 +
 +
 +
In order to make a connection start both browser instances (use two Firefox profiles if tested on one machine). The client side should automatically try to connect the server according to the prefs settings. See the ''Connecting...'' button in the main Firebug toolbar.
=== FBTrace ===
=== FBTrace ===

Revision as of 07:09, 17 August 2012

This page is intended to provide detailed instructions about how to use remote capabilities in Firebug.

Contents

Resources

Prototype

The current development happens on jsd2 branch.

Setup

See how to setup your environment to successfully connect Firebug to remote browser instance. Note that you need to install Firebug on both sides, client and server.

Following preferences need to be set (use about:config)

  • Server
    • devtools.debugger.remote-enabled - must be set to true
    • extensions.firebug.serverMode - must be set to true
    • devtools.debugger.force-local - set to false if you want to connect to browser instance on another machine
  • Client
    • extensions.firebug.serverHost - name of the remote host (localhost by default)
    • extensions.firebug.serverPort - remote port (5999 by default)


In order to make a connection start both browser instances (use two Firefox profiles if tested on one machine). The client side should automatically try to connect the server according to the prefs settings. See the Connecting... button in the main Firebug toolbar.

FBTrace

In order to see/filter logs on the server and client you should use following options in the FBTrace console.

  • Server:
  • Client: CONNECTION
Personal tools