Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of opening xdebug in php Environment

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Xiaobian to share with you the php environment to open xdebug method, I believe most people still do not know how to share this article for your reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!

php environment open xdebug (recommended learning: phpstorm)

Go to php.ini to view the configuration information under xdebug

[xdebug]zend_extension ="c:/wamp64/bin/php/php5.6.35/zend_ext/php_xdebug-2.5.5-5.6-vc11-x86_64.dll";xdebug.remote_enable = offxdebug.profiler_enable = offxdebug.profiler_enable_trigger = offxdebug.profiler_output_name = cachegrind.out.% t.% pxdebug.profiler_output_dir ="c:/wamp64/tmp"xdebug.show_local_vars=0xdebug.remote_autostart = 1 #Add remote auto-enable here, you can omit the step of loading xdebug plug-in in browser xdebug.idekey=phpstormxdebug.remote_enable = Onxdebug.remote_host=localhost;xdebug.remote_port default value is 9000, here needs to be consistent with phpstorm configuration, the following instructions xdebug.remote_port= 9000xdebug.remote_handler =dbgpxdebug.auto_trace = On

PhpStorm configuration debug settings

Language & Frameworks > PHP > Debug (check box removed, port default 9000)

Language & Frameworks > PHP > Debug > Servers

Turn on PhpStorm Debug listening connection

The above is "php environment to open xdebug method" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report