0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/tools/inspector_protocol
Ben Noordhuis 484c24fd4e tools: python3 compat for inspector code generator
The code generator takes a dict and turns it into a namedtuple. The dict
contains the key "async", which is a keyword in python 3.7, and rejected
by the namedtuple constructor. Rename it to "async_" to avoid the clash.

Fixes: https://github.com/nodejs/node/issues/29326

PR-URL: https://github.com/nodejs/node/pull/29340
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2019-09-12 09:26:57 -07:00
..
encoding tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00
jinja2 tools: python: update flake8 rules 2019-04-13 20:32:55 -04:00
lib tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00
markupsafe tools: python: update flake8 rules 2019-04-13 20:32:55 -04:00
templates tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00
.clang-format tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00
BUILD.gn tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00
check_protocol_compatibility.py
code_generator.py tools: python3 compat for inspector code generator 2019-09-12 09:26:57 -07:00
codereview.settings tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00
concatenate_protocols.py
convert_protocol_to_json.py tools: fix Python 3 issues in inspector_protocol 2019-08-26 21:31:08 -07:00
inspector_protocol.gni tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00
inspector_protocol.gypi tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00
LICENSE
OWNERS
pdl.py tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00
README.md tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00
README.node tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00
roll.py tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00

Chromium inspector (devtools) protocol

This package contains code generators and templates for the Chromium inspector protocol.

The canonical location of this package is at https://chromium.googlesource.com/deps/inspector_protocol/

In the Chromium tree, it's rolled into https://cs.chromium.org/chromium/src/third_party/inspector_protocol/

In the V8 tree, it's rolled into https://cs.chromium.org/chromium/src/v8/third_party/inspector_protocol/

See also Contributing to Chrome Devtools Protocol.

We're working on enabling standalone builds for parts of this package for testing and development, please feel free to ignore this for now. But, if you're familiar with Chromium's development process and have the depot_tools installed, you may use these commands to fetch the package (and dependencies) and build and run the tests:

fetch inspector_protocol
cd src
gn gen out/Release
ninja -C out/Release json_parser_test
out/Release/json_parser_test

You'll probably also need to install g++, since Clang uses this to find the standard C++ headers. E.g.,

sudo apt-get install g++-8