[英]How to enable debuging when using jpm run to test a Firefox Add-on SDK extension
Can somebody tell me what is required to turn on a debugger when testing a Firefox Add-on SDK extension on Windows 7, 64 bit. 有人可以告诉我在Windows 7(64位)上测试Firefox扩展SDK扩展时需要打开调试器的什么。 I'm launching the add-on via the command line with the command
jpm run
. 我正在使用
jpm run
命令通过命令行启动加载项。
I've tried bring up the debugger via F12 . 我试过通过F12调出调试器。 But, I can't see my JavaScript file(s) there.
但是,我在那里看不到我的JavaScript文件。
A step-by-step guide would be useful. 分步指南将很有用。
Use the command jpm run --debug
. 使用命令
jpm run --debug
。
Then click on "OK" when asked to accept the incoming connection: 然后在询问是否接受传入连接时单击“确定”:
You will then have a debugger window from which you can select your JavaScript files: 然后,您将具有一个调试器窗口,从中可以选择JavaScript文件:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.