Requirements:
- Crypti Sandbox - Version 1.0.3 and above.
Important: If you have installed the Crypti Sandbox module before (see node_modules/crypti-sandbox). Please check the version, it must be greater than or equal to 1.0.3. If you have an older version of Crypti sandbox, please run the following commands:
rm -rf node_modules/crypti-sandbox
npm install crypti-sandbox
Debugging is enabled by launching crypti with the DEBUG environment variable assgined with a value of 1, for example:
DEBUG=1 node app.js
Install node-inspector, a debugger interface for Node.js applications:
npm install -g node-inspector
Launch crypti:
DEBUG=1 node app.js
Launch node-inspector:
node-inspector
Click on:
Run -> Edit Configurations -> Nodejs Remote Debug
Add a new debugging configuration, using the default settings.
Launch crypti:
DEBUG=1 node app.js
Launch the remote debugger from within WebStorm.