Hi,
The difficulty is that the Raspberry Pi must connect to adb over tcp, but
WebIDE is built to assume a connection over USB. You can get WebIDE
working by first following the instructions here to connect adb to your RPi
https://wiki.mozilla.org/Hacking_b2g_on_Raspberry_Pi#Preparing_a_development_environment
Next, ensure that your RPi is configured to allow "ADB and Devtools" to
debug over USB
https://developer.mozilla.org/en-US/docs/Tools/WebIDE#Connecting_a_Firefox_OS_device
Next you have to forward a local port to the debugger socket on the RPi.
Run a command like the following
$ adb forward tcp:7788 localfilesystem:/data/local/debugger-socket
(The port "7788" is arbitrary, you can select any unused port.)
*Note*: this connection attempt will raise a prompt on your RPi. Make sure
you click "OK" to allow the connection attempt, or else it can time out.
After all that, WebIDE should be connected to your RPi and functional.
Cheers,
Chris
On Tue, Nov 4, 2014 at 11:21 AM, Martyn Eggleton <
martyn....@gmail.com>
wrote:
> On 4 November 2014 19:20, Chris Jones <
jones....@gmail.com> wrote:
>
>> Hi Martyn,
>>
>> I'm afraid I don't know which "WebIDE" you're referring to. Can you post
>> a link?
>>
>> You should be able to connect the Firefox dev tools that are intended to
>> be used with Firefox OS to your Raspberry Pi, once you've made the adb
>> connection.
>>
>> Cheers,
>> Chris
>>
>> On Wed, Oct 29, 2014 at 5:06 PM, Martyn Eggleton <
>>
martyn....@gmail.com> wrote:
>>
>>> In order to have a go at app hacking on the PiFxOS I assumed I would be
>>> connecting WebIDE to a Remote Runtime.
>>>
>>> I followed these instructions
>>>
https://wiki.mozilla.org/Hacking_b2g_on_Raspberry_Pi#Preparing_a_development_environment
>>> and I got adb to connect OK.
>>>
>>> How do I setup WebIDE to connect? do I use some kind of local connection
>>> because adb is already running? or do i stop the adb and use a Remote
>>> Runtime $IP:5555 (obviously changing $IP to the IP of the Pi).
>>>
>>> _______________________________________________
>>> dev-raspberry-pi mailing list
>>>
dev-rasp...@lists.mozilla.org
>>>
https://lists.mozilla.org/listinfo/dev-raspberry-pi
>>>
>>
>>
>
>