how to see the dump() message in firefox?

前端 未结 3 1044
南笙
南笙 2021-01-17 04:48

I\'m currently developing a firefox extension. I use dump() function. But the messages are not showing up in the console. I\'ve cahnged the value of brows

3条回答
  •  死守一世寂寞
    2021-01-17 05:20

    To finally get the output from dump(), I specified dump file location by creating a preference browser.dom.window.dump.file and setting it in about:config.

    I believe I had the same issue. I couldn't get dump() to print to stderr nor the console even though I had set browser.dom.window.dump.enabled to true. I'm on Ubuntu 14.04.

    Source: https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference/browser.dom.window.dump.file

提交回复
热议问题