...
This guide will show you how to debug an existing application - the same application generated in the Generate Generating Profound.js Modules with JumpStart guide.
Step 1 - Setup
Firstly, you have to copy all the source (and dependencies for that source) onto your local machine.
...
Once you have mapped the files to your local machine, you should test that your IBM i can reach your local machine.
- On In your genie session: CALL , use command PJSMYIP. This changes your session to point to your local Profound.js server.
- Start your local Profound.js server. Change your current directory to your Profound.js and use 'node start' to start the Profound.js server.
- Lastly, call your program: CALL PRODAPP. This will redirect the call to your local Profound.js server, where the JavaScript is run.
...