What does the -debugger flag do

瀏覽次數:16 次
跳到第一則未讀訊息

Emiliano Heyns

未讀,
2017年7月18日 凌晨4:29:302017/7/18
收件者:zotero-dev
I see it is supposed to open "the devtools debugger on port 6100" but what does that do, and how can I use it?

Dan Stillman

未讀,
2017年7月18日 凌晨4:35:002017/7/18
收件者:zoter...@googlegroups.com
On 7/18/17 4:29 AM, Emiliano Heyns wrote:
> I see it is supposed to open "the devtools debugger on port 6100" but
> what does that do, and how can I use it?

It lets you use the Firefox DevTools on Zotero — DOM
inspection/modification, debugger, etc. Same as using the Browser
Toolbox on Firefox itself (or Zotero for Firefox).

Open Firefox Developer Edition (or the regular version, but it can be
nice to keep the settings separate), enable browser chrome/add-on and
remote debugging in the Web Console settings (gear icon) pane, and then
use Tools -> Web Developer -> "Connect…".

Emiliano Heyns

未讀,
2017年7月18日 清晨5:07:472017/7/18
收件者:zotero-dev
But this can be used to reach into Zotero over a telnet-ish connection on that port? What protocol is spoken over this connection? Can this activate chrome-level JS? I've found this but talks mostly about manipulating the DOM of loaded web pages, not privileged chrome code.
回覆所有人
回覆作者
轉寄
0 則新訊息