PR-URL: https://github.com/nodejs/node/pull/39469 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
25 lines
No EOL
588 B
Markdown
25 lines
No EOL
588 B
Markdown
# TOOLS
|
|
|
|
This directory contains debugging and investigation tools for V8.
|
|
|
|
The contents are regularly mirrored to <http://v8.dev/tools>.
|
|
|
|
## Local Development
|
|
|
|
For local development you have to start a local webserver under <http://localhost:8000>:
|
|
```
|
|
cd tools/;
|
|
npm install;
|
|
ws;
|
|
```
|
|
|
|
## Local Symbol Server
|
|
|
|
The system-analyzer can symbolize profiles for local binaries by running a
|
|
local symbol server
|
|
```
|
|
cd tools/;
|
|
ws --stack system-analyzer/lws-middleware.js lws-static cors;
|
|
```
|
|
Note that the local symbol server will run `nm` and `objdump` and has access to
|
|
your files. |