It is possible to debug existing or newly creating Profound.js modules on your local machine.
The first step is to install Profound.js onto your local machine by using 'npm install profoundjs
'
This guide will show you how to debug an existing application.
Step 1
Firstly, you have to copy all the source (and dependencies for that source) onto your local machine.
For example, if your Profound.js module was stored in /profoundjs/modules/demolib/prodapp.js
on your IBM i, then you would copy it to /profoundjs/modules/demolib/prodapp.js
on your local machine.
If you have to copy a Profound.js module into a directory that does not exist on your local machine yet, do not forget to add it to your pathlist on your Profound.js server settings.