Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

  1. 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.
  2. 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.
  3. Lastly, call your program from Genie: CALL PRODAPP. This will redirect the call to your local Profound.js server, where the JavaScript is run.

...