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.

Firefox documentation needed

See original GitHub issue

I have some trouble getting CRI working with Firefox.

First of all the documentation should probably mention that --remote-debugger is only built in the nightly version of Firefox. Unfortunately it still doesn’t work for me:

$ firefox-nightly --remote-debugger 127.0.0.1:44001
DevTools listening on ws://localhost:44001/devtools/browser/428fb6bc-b3d3-1f40-a278-ea4cb7f31abb
IPDL protocol error: Handler returned error code!
$ ./node_modules/chrome-remote-interface/bin/client.js -p 44001 list
Error: Bad request

Am I missing something?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
cyrus-andcommented, Jun 6, 2020

OK for the buggy part (which I haven’t really tested), the fact that it implements a subset of the original CDP is already stated, it would be nice that Mozilla provided documentation about what domains are implemented… Users can still obtain the actual protocol using the Protocol function and sub command.

Thanks for your timely support!

1reaction
Niekcommented, May 19, 2020

Don’t ask me why, but I managed to get it working with --remote-debugging-port PORT instead of --remote-debugger 127.0.0.1:PORT. It seems that the latter one listens specifically on hostname localhost (even though I specify the IP) and requests without the Host: localhost header return a 400 Bad Request. Starting FF while specifying only the port works fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firefox - Mozilla - MDN Web Docs
Firefox is Mozilla's popular Web browser, available for multiple platforms including Windows, macOS, and Linux on the desktop and all ...
Read more >
Learn the Basics: get started | Firefox Help - Mozilla Support
Learn all you need to know to get started with Firefox. All All articles and threads · Tab basics
Read more >
Firefox Source Tree Documentation — Firefox Source Docs ...
Firefox Source Tree Documentation¶ · Address Bar · Browser Usage Telemetry · Command Line Parameters · Enterprise Policies · Form Autofill · Firefox...
Read more >
Get started with Firefox - An overview of the main features
Learn about the basic features of Firefox (bookmarks, tabs, search, add-ons, and more) and find links to more articles to explore.
Read more >
Building Firefox On Linux — Firefox Source Docs documentation
This document will help you get set up to build Firefox on your own computer. Getting set up can take a while -...
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