GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - roblourens/node: Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

13,274 Commits
13,274 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
benchmark
benchmark
 
 
deps
deps
 
 
doc
doc
 
 
examples
examples
 
 
lib
lib
 
 
src
src
 
 
test
test
 
 
tools
tools
 
 
.editorconfig
.editorconfig
 
 
.eslintignore
.eslintignore
 
 
.eslintrc
.eslintrc
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.mailmap
.mailmap
 
 
AUTHORS
AUTHORS
 
 
BSDmakefile
BSDmakefile
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
COLLABORATOR_GUIDE.md
COLLABORATOR_GUIDE.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
GOVERNANCE.md
GOVERNANCE.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
ROADMAP.md
ROADMAP.md
 
 
WORKING_GROUPS.md
WORKING_GROUPS.md
 
 
android-configure
android-configure
 
 
common.gypi
common.gypi
 
 
configure
configure
 
 
node.gyp
node.gyp
 
 
vcbuild.bat
vcbuild.bat
 
 

Repository files navigation

Node.js remote debugger

This is an experiment with intent to add debugging capabilities to Node.js The UI part is supposed to be regular Chrome DevTools talking to the v8 inspector via the remote debugging protocol.

Build & run

Clone v8_inspector branch. This is a slightly modified version of Node.js that uses v8_inspector to support remote debugging with Chrome DevTools:

$ git clone -b v8_inspector https://github.com/repenaxa/node/
$ cd node

Pull inspector implementation as git submodule:

$ git submodule update --init --remote --recursive

Install 'ws' node module:

$ npm install ws

Generate .ninja files with gyp and build:

$ ./configure
$ ./tools/gyp_node.py -f ninja
$ ninja -C out/Release/ node  -j10

Run Node with remote debugging enabled:

$ ./out/Release/node --remote-debugging-port=9222 examples/test.js

The command will execute the script passed as the argument and start to wait for remote debugger connection on port 9222. To connect with DevTools, start Chromium with --remote-debugging-targets=localhost:9222 and navigate to chrome:inspect. There is going to be a link to the Node debugger under "Devices > Remote Targets" section.

Alternatively you could open the following URL directly:

chrome-devtools://devtools/bundled/inspector.html?ws=localhost:9222/node

DevTools UI will load in the tab and connect to the node instance executing test.js file. Sources panel should list your JavaScript scripts.

  • If you navigate to localhost:3333 in another tab, execution should pause on debugger; statement in test.js
  • You can try stepping and breakpoint debugging
  • Console evaluation with support for ES6 and object formatting
  • Sampling JavaScript profiler with flamechart
  • Heap profiler and recording heap allocations

About

Node.js JavaScript runtime ✨🐢🚀✨

nodejs.org

Resources

Readme
License

Code of conduct

Code of conduct

Contributing

Contributing
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.