How to solve the problem that vscode cannot start breakpoint debugging
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!