PhpStorm provides a complete range of facilities to debug source code:
- Breakpoints in PHP.
- Customizable breakpoint properties: conditions, pass count, etc.
- Support for the Xdebug tool to debug PHP applications.
To debug an application, perform the following general steps
- Configure debugger options.
To debug CoffeeScript, TypeScript, and Dart code,
otherwise your breakpoints will not be recognised and processed correctly.
- Define a run/debug configuration for the application to be debugged.
- Create breakpoints in the source code.
- Launch a debugging session.
- Pause or resume the debugging session as required.
- During the debugger session, step through the breakpoints, evaluate expressions, change values on-the-fly , examine suspended program, and set watches .