-
Notifications
You must be signed in to change notification settings - Fork 439
Use JerryScript Debugger
Haesik, Jun edited this page Jun 13, 2017
·
3 revisions
Detailed description about the debugger is available here.
To enable the debugger support under IoT.js, the --jerry-debugger
option
should be passed to the tools/build.py
. The server part of the debugger is
intergrated into the binary of IoT.js.
If you want to specify the port number of the debugger-server (default: 5001),
you can do so with the --jerry-debugger-port=<PORT>
option.
To start the debugger-server: <iotjs binary> test.js --start-debug-server
Two clients are included, a python
and an HTML variant, they can be found under deps/jerry/jerry-debugger/
.
Note: When snapshot support is enabled, you won't be able to examine js-modules that are loaded from snapshots.