Detailed explanation of phpstorm+xdebug

(*-*)浩
Release: 2019-11-27 18:20:53
Original
4365 people have browsed it

Detailed explanation of phpstorm+xdebug

##run->edit configurations(Recommended learning:phpstorm detailed explanation)

StartUrl is best to be a URL, otherwise it is easy to make mistakes. Server chooses Servers added during configurationDetailed explanation of phpstorm+xdebug

I have installed two extensions for Chrome Google Chrome, and they are both enabled

JetBrains IDE Support, xdebug helper for chrome

Detailed explanation of phpstorm+xdebugWhen accessing the page and preparing to enter the breakpoint, PHPStorm reported an error:

Cannot accept external Xdebug connection: Cannot evaluate expression'isset($_SERVER['PHP_IDE_CONFIG'])';
Copy after login

Cause One possible reason for this problem is that the server-side php.ini is configured with:

extension=/path/xdebug.so
Copy after login

. Only the following one should be retained:

zend_extension=/path/xdebug.so
Copy after login

In addition It is best to change the port 9000 to 9001. Phpstorm and xdebug must be synchronized. The IDEkey must be consistent

Detailed explanation of phpstorm+xdebugDetailed explanation of phpstorm+xdebugDetailed explanation of phpstorm+xdebug

The above is the detailed content of Detailed explanation of phpstorm+xdebug. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!