Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thlorenz/debugium-take1
Attempt at pulling out chromium debugger to use it with Node.js.
https://github.com/thlorenz/debugium-take1
Last synced: 13 days ago
JSON representation
Attempt at pulling out chromium debugger to use it with Node.js.
- Host: GitHub
- URL: https://github.com/thlorenz/debugium-take1
- Owner: thlorenz
- License: mit
- Created: 2014-09-30T15:35:46.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-13T14:15:25.000Z (over 10 years ago)
- Last Synced: 2024-12-10T08:26:23.779Z (about 1 month ago)
- Language: C++
- Homepage: https://github.com/thlorenz/debugium
- Size: 2.33 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# debugium
Attempt at pulling out chromium debugger to use it with Node.js.
**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*
- [Getting Started](#getting-started)
- [Init Repo](#init-repo)
- [Add Paths](#add-paths)
- [Building](#building)
- [Sources](#sources)
- [Dependencies](#dependencies)
- [Main Target](#main-target)
- [Resource/Code Generators](#resourcecode-generators)
- [Most need](#most-need)
- [Targets](#targets)
- [devtools resources](#devtools-resources)
- [License](#license)## Getting Started
Since we are not using `gclient` a few scripts have been included in order to properly set up the `debugium` repository.
### Init Repo
After cloning run `./scripts/init` in order to initialize the repo.
### Add Paths
Run `source ./scripts/exports` to add necessary paths, i.e. to use custom installed **clang** to build debugium.
### Building
Execute gyp to regenerate build files, then run ninja.
```sh
./scripts/gyp
ninja -C src/out/Debug all
```## Sources
```
./src https://chromium.googlesource.com/chromium/src (copied for now)
/build https://chromium.googlesource.com/chromium/src/build
/content/public/browser part of /src repo
/third_party
/WebKit https://chromium.googlesource.com/chromium/blink
/icu https://chromium.googlesource.com/chromium/deps/icu52
/llvm-build generated via ./tools/clang/update.sh
/jinja2 part of /src repo (original: https://github.com/mitsuhiko/jinja2)
/markupsafe part of /src repo (original: https://github.com/mitsuhiko/markupsafe)
/tools
/grit https://chromium.googlesource.com/external/grit-i18n.git
/gyp https://chromium.googlesource.com/external/gyp.git
/clang https://chromium.googlesource.com/chromium/src/tools/clang
/gritsettings part of /src repo
```## Dependencies
### Main Target
```
./src/build_debugium/debugium.gyp
- ./src/content/browser/devtools/devtools_resources.gyp:devtools_resources
- ./src/content/browser/devtools/devtools.gyp:devtools_protocol_handler
```### Resource/Code Generators
#### Most need
- `./src/build/grit_target.gypi`
#### Targets
##### devtools resources
- `devtools.gyp:devtools_resources` uses part of same dependencies and adds no others
```
./src/content/browser/devtools/devtools_resources.gyp
:devtools_resources
@devtools_resources
- ./src/third_party/WebKit/public/blink_devtools.gyp:blink_generate_devtools_grd
- ./src/tools/grit/grit.py
@devtools_protocol_constants
- ./src/third_party/WebKit/Source/devtools/protocol.json
- ./src/content/browser/devtools/browser_protocol.json
- ./src/third_party/WebKit/public/browser/devtools_protocol_constants_generator.py./src/third_party/WebKit/public/blink_devtools.gyp
:blink_generate_devtools_grd
- ./src/third_party/WebKit/Source/devtools/devtools.gyp:generate_devtools_grd
:blink_devtools_frontend_resources
- ./src/third_party/WebKit/Source/devtools/devtools.gyp:devtools_frontend_resources./src/third_party/WebKit/public/blink_devtools.gyp
:blink_generate_devtools_grd
- ./src/third_party/WebKit/Source/devtools/devtools.gyp:generate_devtools_grd./src/third_party/WebKit/Source/devtools/devtools.gyp
:generate_devtools_grd
- ./src/third_party/WebKit/Source/devtools/devtools.gypi
:devtools_frontend_resources
:devtools_html
:toolbox_html
:devtools_extension_api
- ./src/third_party/WebKit/Source/devtools/scripts/generate_devtools_grd.py
:devtools_frontend_resources
:build_applications
:devtools_html
:toolbox_html
:supported_css_properties
:frontend_protocol_sources
:build_applications
:devtools_html
:toolbox_html
:supported_css_properties
:frontend_protocol_sources
- ./src/third_party/WebKit/Source/devtools/scripts/build_applications.py
- ./src/third_party/WebKit/Source/devtools/scripts/modular_build.py
- ./src/third_party/WebKit/Source/devtools/scripts/concatenate_application_code.py
:devtools_html
- ./src/third_party/WebKit/Source/devtools/front_end/devtools.html
- ./src/third_party/WebKit/Source/devtools/scripts/generate_devtools_html.py
:toolbox_html
- ./src/third_party/WebKit/Source/devtools/front_end/toolbox.html
- ./src/third_party/WebKit/Source/devtools/scripts/generate_devtools_html.py
:supported_css_properties
- ./src/third_party/WebKit/Source/devtools/scripts/generate_supported_css.py
- ./src/third_party/WebKit/Source/core/css/CSSProperties.in
:frontend_protocol_sources
- ./src/third_party/WebKit/Source/devtools/scripts/CodeGeneratorFrontend.py
- ./src/third_party/WebKit/Source/devtools/protocol.json
:devtools_extension_api
- ./src/third_party/WebKit/Source/devtools/scripts/generate_devtools_extension_api.py
./src/third_party/WebKit/Source/devtools/devtools.gypi
- ./src/third_party/WebKit/Source/devtools/frontend/*
```## License
MIT