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

How to solve the problem that vscode cannot start breakpoint debugging

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

Editor to share with you how to solve the problem that vscode can not start breakpoint debugging. I hope you will get something after reading this article. Let's discuss it together.

Question:

When vscode debugs the php breakpoint, press F5 to debug, but the breakpoint is not executed.

Solution:

When setting the php extension, it is common to modify php.ini and add extension under windows, for example:

Extension=php_mbstring.dll

But for some zend extensions, do not use this method, just use zend_extension, here we use xdebug to illustrate:

Zend_extension= "C:/php/ext/php_xdebug-2.7.2-7.1-vc14.dll"

Once set up, restart the apache or nginx server, set the breakpoint, and the correct execution will stop at the breakpoint.

After reading this article, I believe you have a certain understanding of "how to solve the problem that vscode can not start breakpoint debugging". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

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