Mac OS X
1) In Firefox, go to about:config in the address bar, type zotero.debug in the Filter box, and make sure extensions.zotero.debug.log is set to true. (You can change the setting by double-clicking on the line.)
2) Close Firefox, and then restart it via the command line:
- Open Terminal in /Applications/Utilities
- Run /Applications/Firefox.app/Contents/MacOS/firefox-bin
You should see debug output in the console as Firefox starts.
To capture output for a particular action (e.g., for a translator save attempt), press Cmd-K in the Terminal to clear all previous output before performing the action and then copy the complete output immediately afterwards.
If you receive the message “Command not found” in the Terminal, the location of Firefox on your system may be slightly different, or you may have entered the above line incorrectly. Ctrl-click on the icon you use to open Firefox and select Show in Finder. Look at the name of the Firefox application and the folder it is in. Replace “Firefox” in the line above with the name you see in the Finder. If Firefox is not located in the Applications folder, press Command-I and look at the “Where:” field to see the full path, and replace ”/Applications” in the above line with that path. If there are any spaces in the path or app name, you'll need to surround the entire path with quotation marks. For example, if Firefox is named “Firefox 2.0”, you might use this line (quotation marks included):
"/Applications/Firefox 2.0.app/Contents/MacOS/firefox-bin"
3) When you are done, if you don't plan to generate debug output frequently, return to about:config and set extensions.zotero.debug.log to false.
Windows XP
Note: The debug console on Windows XP drastically slows down Zotero.
1) In Firefox, go to about:config in the address bar, type zotero.debug in the Filter box, and make sure extensions.zotero.debug.log is set to true. (You can change the setting by double-clicking on the line.)
2) Close Firefox, and then restart it via the command line:
- Start, Run
- "C:\Program Files\Mozilla Firefox\firefox.exe" -console
You should see debug output in the console as Firefox starts. After generating the necessary output, immediately copy the complete content by clicking the title bar icon and selecting Edit→Select All and then Edit→Copy.
If you receive the error “Windows cannot find 'C:\Program Files\Mozila Firefox…”, the location of Firefox on your system may be slightly different, or you may have entered the above line incorrectly. Find an existing shortcut to Firefox (e.g. on your desktop or in the Start menu), right-click it, select Properties, make sure the Target field is selected, and copy it to the clipboard by pressing Ctrl-C. Click Cancel to close the shortcut window. Back in Start→Run, clear the field and paste in the clipboard by pressing Ctrl-V. At the end of the field, after the second quotation marks, add a space followed by '-console' (a hyphen and the word console, without quote marks).
Note: The first time viewing debug output on Windows, it's helpful to click the icon in the top left of the console window, click Properties, go to the Layout tab, and set the Screen Buffer Size height to the maximum of 9999. Click OK and choose “Save properties for future windows with same title”, and then close Firefox and start it again the same way as above.
3) When you are done, if you don't plan to generate debug output frequently, return to about:config and set extensions.zotero.debug.log to false.
Linux
1) In Firefox, go to about:config in the address bar, type zotero.debug in the Filter box, and make sure extensions.zotero.debug.log is set to true. (You can change the setting by double-clicking on the line.)
2) Close Firefox, and then restart it via the command line.
You should see debug output in the console as Firefox starts.
3) When you are done, if you don't plan to generate debug output frequently, return to about:config and set extensions.zotero.debug.log to false.