Original: Phpstudy + phpstrom +xdebug breakpoint Debugging (Windows)-CSDN Blog
PHP.ini configuration needs to add the following [XDebug]
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";zend_extension = D:\phpStudy\php\php-5.6.27-nts\ext\php_xdebug-2.5.1-5.6-vc11-x86_64.dllxdebug.remote_enable =1xdebug.remote_handler = "dbgp"xdebug.idekey = PHPSTORMxdebug.remote_host = "127.0.0.1"xdebug.remote_port = 9000
PHP Languagel Level: This is the PHP version
CLI Interpreler Select the location of the PHP file, and finally select the Php-cgi.exe file
The original configuration file is unchanged, mainly look at the debug port port number, to be consistent with the Xdebug port port in Phpinfo
Ied key: Here to see what the Xdebug key in Phpinfo is, to write the same
Host: Your access domain name or localhost
Port: How much of your project's ports are written
Name: Just write a name.
Host: I'm writing here the access path to the project
Prot: Port of Project
Debugger: Select Xdebug
Name: Write a name for yourself
Server: Select the project you just created
Output This debug information, prove the configuration is successful! I wish you a small partner configuration success, encountered problems, welcome message
Phpstudy + phpstrom +xdebug breakpoint Debugging (Windows)-CSDN Blog