1. Debugging with GDB

To debug things like segfaults, which arise from XULRunner, you can run Conkeror in GDB. To do this effectively, you should install a version of XULRunner that has debugging symbols built in. For example, on Debian, use the package 'xulrunner-8.0-dbg' (substituting 8.0 for whatever version). Launch gdb/Conkeror with a shell script like the following.

When the segfault occurs, get a backtrace with the bt command. Refer to gdb documentation for further information on how to use gdb.

2. Debugging with Firefox Remote Debugging

The remote debugger in Firefox can be used to set breakpoints and step through code either on a web page or in Conkeror itself. It can also be used to inspect page elements and view network traffic. It can serve as a replacement for Firebug and Firebug Lite. I did have trouble with the inspector in a version less than Firefox 29, so you might want to have the latest version of Firefox and Xulrunner.

Finally, connect to Conkeror from Firefox. There are two ways to do this. One is to run "firefox -chrome chrome://browser/content/devtools/connect.xhtml". Another is to start Firefox, click Toolbox > Developer > Connect. You shouldn't need to change any of the settings, click "Connect". A popup should appear from the Conkeror window asking for permission, click "OK". Now a list of processes should appear in Firefox, click on "Main Process." Success, you're now remotely debugging Conkeror!