Windows-phpstorm: Xdebug local debugging

Source: Internet
Author: User
PHPstorm and Xdebug development environments installed in Windows 7 use PHPstudyphpinfo () xdebug configuration information PHPstorm configuration information for you to see if the chrome browser plug-in configuration is not configured to install the online tutorial configuration, read a few tutorials, now it is a breakpoint will not...
  1. PHPstudy is used in PHPstorm and Xdebug development environments installed in Windows 7.
    Phpinfo ()

Xdebug configuration information

You can check the PHPstorm configuration information, right?

Chrome plug-in configuration

After installing the online tutorial configuration, I have read several tutorials. Now, when the breakpoint is set, it will not stop. Please help solve the problem.

Reply content:
  1. PHPstudy is used in PHPstorm and Xdebug development environments installed in Windows 7.
    Phpinfo ()

Xdebug configuration information

You can check the PHPstorm configuration information, right?

Chrome plug-in configuration

After installing the online tutorial configuration, I have read several tutorials. Now, when the breakpoint is set, it will not stop. Please help solve the problem.

No idekey is configured. Use your computer later to modify the answer ..

Add the xdebug Configuration
1 zend_extension = xdebug. so
2 xdebug. idekey = phpstorm
3 xdebug. remote_port = 9000
4 xdebug. remote_host = localhost
5 xdebug. remote_enable = 1
6 xdebug. remote_handler = dbgp
7 xdebug. remote_mode = req
And then configure phpstorm.
File-> setting-> Language & Frameworks-> PHP-> Debug-> DBGp Proxy
Ide key = phpstorm
Host = localhost
Port = 9000
Then
File-> setting-> Language & Frameworks-> PHP-> Servers
Add a server and use your domain name and port 80.
Then
Upper right corner
Edit Configuartion
Add a PHP Web Application
Select the added Server
Enter your index in StartURL.
Select your default Browser

Bingo

After you configure xdebug in php, you should take one step less. I remember one step is to open FILE-> SETTING to search for debuger, and then click the php one. Do you see if you have entered it on the right?

There are only a few steps. I just tried it a few days ago:

1. Configure the information in php. ini;
2. Add a php web application to the left of the Beetle
3. Configure the debug items in setting (usually by default)

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.