PhpStorm 2016.2 Help

Running and Debugging

In PhpStorm, you can run and debug various types of applications without leaving the IDE.

Each script, console, server, or test that you wish to run or debug from within PhpStorm, needs a special profile that specifies script name, working directory, and other important data required for running or debugging in different modes. PhpStorm comes with a number of such pre-defined profiles, or run/debug configurations.

Using the PhpStorm's debugger, you can find out the origin of the run-time errors and exceptions. The debugger enables you to execute your application step by step, examine program information related to variables, watches, or threads, and change your program without leaving the IDE.

Prior to launching the debugger session, you have to set breakpoints that cause the debugger to suspend application (or take some other actions), when such breakpoint is reached.

Generated output and console information during the running or debugging sessions are displayed in the Run tool window and Debug tool window respectively.

In this part you can find basic information about:

Refer to the sections Running, Debugging and Testing for the detailed descriptions of procedures.

See Also

Last modified: 24 November 2016