Versions Compared

Key

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




Note
titleContent Freeze

As of July 25th, 2023, there is a content freeze on this page.

Section



Column
width50%


Note
titleBefore you start!
The first step is to install Profound.js onto your local machine by using 'npm install profoundjs'. Click here for more detailed installation instructions.



Column
width50%


Info
titlePlease note...
You can and are welcome to use any Node.js debugger you prefer with Profound.js; however, this walk-through illustrates using VS Code, as it is one of the more popular, free, and easy to use debuggers for Node.



...

  1. In the VS Code explorer, open 'modules/pjssamples/connect4.js'

  2. When the file is open, set a breakpoint on where you'd like to break the program. You can set a breakpoint by clicking slightly left of the line number you'd like to break on.

  3. Next, start debugging from VS Code and launch the application in your browser using the URL which is shown the debug console.

  4. When the program breaks, VS Code will take focus and the current debugging line of the statement will be highlighted in yellow.


    From here, you are able to step through your module and debug the application.

Video Tutorial

Widget Connector
width640
urlhttps://www.youtube.com/watch?v=m9IEtCgD-P0
height360