It is possible to debug existing or newly creating You can debug Profound.js modules on your local machine.
The first step is to install Profound.js onto your local machine by using 'npm install profoundjs
'. Click here for more detailed installation instructions.
This guide will show you how to debug an existing application - application. The example application used here is the same application generated in the the Generating Profound.js Modules with JumpStart guide.
Step 1 - Setup
FirstlyFirst, you have to copy all the source (and dependencies for that source) onto your local machine.
...
If you have to copy a Profound.js module into a directory that does not exist on your local machine yet, do not forget to add it to your pathlist on in your Profound.js server settings.
...
- In your genie session, use command PJSMYIP. This changes your session to point to your local Profound.js server. For more details, click here.
- 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.
...