...
First, copy the source that you'd like to debug (and dependencies for that source) from your IBM i 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.
...