question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Loading into remote firefox instances via web-ext run

See original GitHub issue

Is this a bug or feature request?

feature request

What is the expected or desired behavior?

web-ext run should be able to attach to a remote (different machine/VM/container) firefox instance, Something like web-ext run --remote-firefox=X.X.X.X:YYYY

see also: #518

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:5
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
filipesperandiocommented, Jan 5, 2017

In my case, I run everything that depends on node_modules inside a Docker container. It would be great if I could also run web-ext from there an point at my host Firefox instance.

1reaction
Rob--Wcommented, Mar 31, 2022

The relevant logic is now part of web-ext itself, at https://github.com/mozilla/web-ext/blob/666886f40a967b515d43cf38fc9aec67ad744d89/src/firefox/remote.js (and https://github.com/mozilla/web-ext/blob/666886f40a967b515d43cf38fc9aec67ad744d89/src/firefox/rdp-client.js for the logic that connects via the remote debugging protocol).

It does still not support the ability to connect to an arbitrary host (other than the default 127.0.0.1). But even if it did, then we would still not be able to install an add-on on a remote machine, because the installation mechanism requires a file path, and the file path would be a path to a local file instead of the remote host: https://github.com/mozilla/web-ext/blob/666886f40a967b515d43cf38fc9aec67ad744d89/src/firefox/remote.js#L139-L143

Supporting this use case is a non-trivial amount of work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting started with web-ext | Firefox Extension Workshop
Test an extension in Firefox by cd 'ing into your extensions's root directory and entering: web-ext run. This starts Firefox and loads the ......
Read more >
Extensions & Experiments - Firefox Source Docs - Mozilla
The web-ext command-line tool makes the extension-development workflow very simple. Simply start it with the run command, passing it the location of the...
Read more >
Example extensions - Mozilla - MDN Web Docs
Name Description JavaScript APIs dynamic‑theme Dynamic theme example alarms.create · alarms.onAlarm · them... emoji‑substitution Replaces words with emojis. top‑sites Demonstration of the topSites API. topSites.get
Read more >
Is there any way to run an extension for debug on Android ...
On Desktop FireFox, there is “Debug Add-ons” menu that allows me to load the ... for Android then you should be able to...
Read more >
1309288 - Install addons permanently from about:debugging
My recommendation would be to make use of Nightly along with web-ext. While you are immediately bugfixing you can use web-ext run or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found