How to get “Main Process” in WebIDE

ぃ、小莉子 提交于 2019-12-12 04:05:06

问题


I am trying to run privileged code from the console in WebIDE. My android firefox verison is 39. My desktop firefox version is 38 as I am using Ubuntu so it doenst perfectly sync up with firefox release cycle.

So anyways I followed this tutorial to the T: https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Firefox_for_Android

And I am able to connect to my Firefox on Android on my cellphone (Samsung Galaxy) but I am not able to see "Main Process" in the dropdown here is a screenshot:

Does anyone know what's up? I am starting to develop addons for android, so for installation i will be uploading to github and then installing directly from there with github installer addon.

But to test stuff on the fly it is very critical to use scratchpad or browser console to test code. Editing addon and reinstalling everytime is very cumbersome.


回答1:


When connecting to a remote device, like Firefox for Android, it's important for the desktop Firefox to be the same version or later than the device, or else you can get some strange behavior like you're seeing here.

So, if you still have 39 on Android, then make sure to use 39 or later on desktop.



来源:https://stackoverflow.com/questions/31352289/how-to-get-main-process-in-webide

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!