- Open the debug panel on the left side of the SAP Business Application Studio by clicking the Debug icon or using the Menu Option Run → Start Debugging
- Choose the Dropdown box at the top, and choose the node module to which you want to connect the debugger.
Watch this video to learn how to attach the debugger.
After you have successfully attached the debugger to the Node.js module, you can set breakpoints by selecting the line numbers to the left of the code.
If you execute your application using the applications link in the Run console, the debugger stops when it reaches the breakpoints that you set before.
Use the buttons on top of the debug panel to resume, step over, step in, step out, or deactivate all breakpoints. You can also detach the debugger from your Node.js module.