Phpstormdebug Debug 9000 Port Error

Source: Internet
Author: User
Tags fpm


I believe that there are students in debug debugging when the 9000-port busy error can not be debugged,

The essence is because of conflict with FPM, so to modify the port, such as 9100, the default is 9000, so as to solve the problem.



Phpstorm Debug Configuration Front blog has detailed configuration here's not much to say


Workaround:

1. Open php.ini Add the following code under the Debug module

xdebug.remote_port=9100
Xdebug.remote_enable=on

2. The following figure, modify the Phpstorm configuration file, change the port to become 9100

3. Restart Nginx

4. Find debug already good, click on the bug to start debugging it ~


Summarize
1 to pay attention to the FPM and Xdebug port conflict problem, they all use 9000, to modify one of them;
2 Even if the machine is running Xdebug, also pay attention to it is remote debug function, to configure the relevant remote sever;


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.