Published On: March 2nd, 2021
Today we will discuss how to debug node js and gatsby.
Debugging through CLI
Debugging with VS Code
Debugging with Chrome's Console
You can start debugging a PHP CLI script from the command line, having PhpStorm listen for incoming debugger connections.
Set the breakpoints where necessary.
On the toolbar, click the Start Listening for PHP Debug Connections button or select Run | Start Listening for PHP Debug Connections from the main menu.
Start the script with debugger options depending on the debugging engine you are using - Xdebug or Zend Debugger.