ShadowNode

Use Node.js in your end devices(QQ: 796448809)

View the Project on GitHub yodaos-project/ShadowNode

Jerry-debugger

Detailed description about the debugger is available here.

Enable debugger support in IoT.js

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.

Usage

To start the debugger-server: <iotjs binary> --start-debug-server test.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: <iotjs binary> --start-debug-server --jerry-debugger-port=8080 test.js

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.