本文介绍了如何使用jpm run来测试Firefox附加SDK扩展时启用调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人可以告诉我在Windows 7,64位上测试Firefox附加SDK扩展时打开调试器需要什么。
我使用命令 jpm run
通过命令行启动加载项。
我试过通过调出调试器。但是,我在那里看不到我的JavaScript文件。
一步一步的指导将是有用的。
然后您将有一个调试器窗口,您可以从中选择您的JavaScript文件:
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.I'm launching the add-on via the command line with the command jpm run
.
I've tried bring up the debugger via . But, I can't see my JavaScript file(s) there.
A step-by-step guide would be useful.
解决方案
Use the command 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:
这篇关于如何使用jpm run来测试Firefox附加SDK扩展时启用调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!