Versions Compared

Key

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

...

  1. In your genie session, use command PJSMYIP. This changes your session to point to your local Profound.js server.
  2. Start your local Profound.js server. Change your current directory to your Profound.js and use 'node start' to start the Profound.js server.
  3. Lastly, call your program: CALL PRODAPP. This will redirect the call to your local Profound.js server, where the JavaScript is run.

 

Step 3 - VSCode Debug VS Code Debug Setup

For VSCodeVS Code, you will want to open your Profound.js directory as your workspace. This is so it's easy to navigate and debug through existing source.

...

This mean. that when you start debugging it will launch the Profound.js inside of your VSCode instanceVS Code instance. This allows you to put breakpoints into Profound.js modules.

...

To debug our application, open the file in VSCode VS Code and set a break point. To test, we will set one at the Profound.js module entry point.