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.

How add protocol in options?

See original GitHub issue

The source code shows the protocol urls. image

I downloaded them and want to offer them by options, but I don`t know how to do it.

My version is V8, Is that mean I should offer two protocol ? image

By the way, I used the remote: true

Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
cyrus-andcommented, Apr 16, 2017

The source code shows the protocol urls.

You should probably ignore that URLs. Chromium team has decided to split the protocol in two parts to separate the V8 part from the browser part; you really need both.


If you want to fetch the protocol for a given Chrome version you can just run:

chrome-remote-interface protocol -r > protocol.json

Then if you want to use that protocol version:

const options = {
    protocol: JSON.parse(fs.readFileSync('protocol.json'));
};

Hope this helps.

0reactions
cyrus-andcommented, Aug 4, 2018

@mohyeid localhost usually resolves to 127.0.0.1, what are you really trying to do?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Protocols — The Swift Programming Language (Swift 5.7)
Custom types state that they adopt a particular protocol by placing the protocol's name after the type's name, separated by a colon, as...
Read more >
Changing protocol configuration settings - IBM
Type the letter of the menu option for the protocol property to configure. The table below describes each property. · Change the property...
Read more >
Appendix A: New Protocol - VGS User Guide
Select Protocol Options: The upper portion of the window will allow you to view, name, and add or delete the available protocols, as...
Read more >
Protocol Options - MULTI-Module Documentation
If a protocol supports Receiver Match, it is enabled by specifying a unique Receiver Number (RX Num) for each model in the Model...
Read more >
How to define optional methods in Swift protocol?
You need to add optional keyword prior to each method. ... 1 - The first option is to mark your protocol using the...
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