Phpstudy + phpstrom +xdebug breakpoint Debugging (Windows)-CSDN Blog

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.