Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to solve the problem that vscode cannot start breakpoint debugging

Shulou Source: shulou.com Published: 2022-06-02 15:32:28 11月15日 Update

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!

Tags: Breakpoints questions methods articles done ways times more servers knowledge results industry information information channels channels services Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Shulou Technology macOS Xiaomi Shulou Tech Info