1# Chromium inspector (devtools) protocol 2 3This package contains code generators and templates for the Chromium 4inspector protocol. 5 6The canonical location of this package is at 7https://chromium.googlesource.com/deps/inspector_protocol/ 8 9In the Chromium tree, it's rolled into 10https://cs.chromium.org/chromium/src/third_party/inspector_protocol/ 11 12In the V8 tree, it's rolled into 13https://cs.chromium.org/chromium/src/v8/third_party/inspector_protocol/ 14 15See also [Contributing to Chrome Devtools Protocol](https://docs.google.com/document/d/1c-COD2kaK__5iMM5SEx-PzNA7HFmgttcYfOHHX0HaOM/edit). 16 17We're working on enabling standalone builds for parts of this package for 18testing and development, please feel free to ignore this for now. 19But, if you're familiar with 20[Chromium's development process](https://www.chromium.org/developers/contributing-code) 21and have the depot_tools installed, you may use these commands 22to fetch the package (and dependencies) and build and run the tests: 23 24 fetch inspector_protocol 25 cd src 26 gn gen out/Release 27 ninja -C out/Release json_parser_test 28 out/Release/json_parser_test 29 30You'll probably also need to install g++, since Clang uses this to find the 31standard C++ headers. E.g., 32 33 sudo apt-get install g++-8 34