You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There could be times where the node --inspect protocol could divert from chrome's at a minor level. Especially around versioning. There is also node-chakra which at some point I am guessing will support the debugging protocol. It may even add additional debugging features e.g time travel debugging.
Does it make sense for json/protocol to return a public url of where to get the protocol.json for that build of node. It could very well be a versioned github url
If this seems like a good idea, I can file a bug on chromium to support a similar API.
We can also make the Edge diagnostics adapter conform to a similar API.
As more tooling and browser vendors start supporting such protocols there will definitely be minor variations around the api. It would be awesome if there would be an automated way to query the engine and generate a table. Sort of like https://caniuse.com.
Feature request:
There could be times where the node --inspect protocol could divert from chrome's at a minor level. Especially around versioning. There is also node-chakra which at some point I am guessing will support the debugging protocol. It may even add additional debugging features e.g time travel debugging.
There's some prior discussion why chrome doesn't implement a http://localhost:9222/json/protocol call
See cyrus-and/chrome-remote-interface#10
Official crbug: https://bugs.chromium.org/p/chromium/issues/detail?id=538300
The gist I am getting is it adds to the file size. This is a valid reason and I'm all for keeping node lean and mean.
Paul Irish sent a stub to grab the protocol.json file from the version but it seems pretty hacky
cyrus-and/chrome-remote-interface#10 (comment)
Does it make sense for json/protocol to return a public url of where to get the protocol.json for that build of node. It could very well be a versioned github url
e.g https://raw.githubusercontent.com/nodejs/node/44b9154495ede7090e90707898449feb11c5100f/deps/v8_inspector/platform/v8_inspector/js_protocol.json
If this seems like a good idea, I can file a bug on chromium to support a similar API.
We can also make the Edge diagnostics adapter conform to a similar API.
As more tooling and browser vendors start supporting such protocols there will definitely be minor variations around the api. It would be awesome if there would be an automated way to query the engine and generate a table. Sort of like https://caniuse.com.
/cc @paulirish @pavelfeldman @ofrobots @auchenberg @joshgav @rvagg @cyrus-and @kunalspathak
Thoughts?
The text was updated successfully, but these errors were encountered: