Connecting to Zotero with the Firefox Developer Tools

Since Zotero 7 is based on Firefox 102, it's compatible with the Firefox 102 ESR Developer Tools.

Zotero beta builds come with the Firefox DevTools server preinstalled. Pass the -debugger flag on the command line to start it:

$ /Applications/ -ZoteroDebugText -jsconsole -debugger

If building Zotero from scratch, pass -rd to the build_and_run helper script to rebuild Zotero with the devtools server included and start Zotero with the server running.

In Firefox 102 ESR, you can then go to about:debugging, add localhost:6100 as a network location, and connect to your running Zotero instance. (If you haven't yet, you'll first need to enable the “Enable browser chrome and add-on debugging toolboxes” and “Enable remote debugging” options in the settings of Firefox's Web Developer Tools.)

You should use a separate Firefox profile for 102 ESR and disable automatic updates to prevent Firefox from being automatically updated to an incompatible version.

dev/client_coding/developer_tools.txt · Last modified: 2023/05/22 05:30 by dstillman