Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

Info

This page explains how to debug Profound.js programs using Google Chrome's built-in debugger.

...

 For debugging Profound.js Spaces programs, see here.

In order to debug a node process you must start that process with debug enabled.

...

2) Open a new Chrome Browser Tab and navigate to chrome://inspect

3) Click the "Open dedicated DevTools for Node" link.

This will open a new popup window.  This is the debugging app.

4) On the On the connection tab, if you do not see your connection (address:port) in the list, you should add it now.

In the above example, you would add: 127.0.0.1:9229.

As soon as you do this, back on that terminal, or log file, you will see a new line that says: Debugger attached.

...

6) You now you can add breakpoints, look at fields, change their values, etc.

...


title
Info

Debugging Profound.js with Chrome Devtools - Video

Widget Connector
urlhttps://www.youtube.com/watch?v=Fo3-dcNYxUU