Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
dev:client_coding:building_the_standalone_client [2019/10/10 13:48]
dstillman [Packaging]
dev:client_coding:building_the_standalone_client [2020/07/07 17:15] (current)
dstillman [Running Your Custom Build]
Line 46: Line 46:
 You'll need to rebuild the client each time you make code changes by running ''​npm run build''​ in ''​zotero-client''​ followed by ''​scripts/​dir_build''​ in ''​zotero-standalone-build''​. In most cases, you'll want to use the helper script below. You'll need to rebuild the client each time you make code changes by running ''​npm run build''​ in ''​zotero-client''​ followed by ''​scripts/​dir_build''​ in ''​zotero-standalone-build''​. In most cases, you'll want to use the helper script below.
  
-You can pass ''​-ZoteroDebugText''​ or ''​-ZoteroDebug''​ to the executable for real-time debug output, and ''​-jsconsole''​ to open the Error Console. If you're working on something that doesn'​t require styles or translators,​ the ''​-ZoteroSkipBundledFiles''​ flag can speed up startup time after rebuilding.+You can pass ''​-ZoteroDebugText''​ or ''​-ZoteroDebug''​ to the executable for real-time debug output ​from ''​Zotero.debug()''​, and ''​-jsconsole''​ to open the Error Console. If you're working on something that doesn'​t require styles or translators,​ the ''​-ZoteroSkipBundledFiles''​ flag can speed up startup time after rebuilding.
  
 A ''​-debugger''​ flag will run the Mozilla DevTools server, which you can connect to from the Firefox DevTools by using the "​Connect…"​ option and pointing to port 6100. You'll first need to enable browser chrome/​add-on and remote debugging in the settings (gear icon) pane of the Firefox Web Console and pass ''​-t''​ to the ''​dir_build''​ script. A ''​-debugger''​ flag will run the Mozilla DevTools server, which you can connect to from the Firefox DevTools by using the "​Connect…"​ option and pointing to port 6100. You'll first need to enable browser chrome/​add-on and remote debugging in the settings (gear icon) pane of the Firefox Web Console and pass ''​-t''​ to the ''​dir_build''​ script.
dev/client_coding/building_the_standalone_client.txt · Last modified: 2020/07/07 17:15 by dstillman