...
Step 1 - Setup
First, copy the source that you'd like to debug (and dependencies for that source) onto your local machine.
...
Step 2 - Test
Once you have mapped copied the files source to your local machine, you should test that your IBM i can reach your local machine.
- In your genie a Genie session, use command PJSMYIP. This changes your session to point to your local Profound.js server. For more details, click here.
- Now, start your local Profound.js server. To do this, change your current directory to your Profound.js installation directory and use 'node start.js' to start the Profound.js server.
- Lastly, call your program from Genie: CALL PRODAPP. This will redirect the call to your local Profound.js server, where the JavaScript is run.
...