Activation code : http://idea.lanyus.com
PHPSTORM and Xdebug breakpoint debugging
Very good article about Xdebug breakpoint debugging configuration
After a day of work, I finally succeeded, so I hurriedly summed up my experience to prevent trouble for a long time in the future.
First configure the PHP environment I use 5.6
Configure ports
Xdebug configuration
The above are the default settings to prevent the next modification from doing it again
After loading the project
project root directory
PHPstudy is used here, first open xdebug through the php extension
Configure the php.ini file
[XDebug]
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_name = "cache.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_port=9000
xdebug.idekey= PHPSTROM
xdebug.profiler_output_dir="D:\phpStudy\tmp\xdebug"
xdebug.trace_output_dir="D:\phpStudy\tmp\xdebug"
zend_extension="D:\phpStudy\php\php-5.6.27-nts\ext\php_xdebug.dll"
There is no need to modify the automatic configuration of Phpstudy , just add other
The configuration is complete here.
Then download Google Chrome and his plugins JetBrains IDE Support and Xdebug helper