In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-10-21 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 configure vscode php development environment, I hope you will learn something after reading this article, let's discuss it together!
1. Download and install vscode
Download a zipped package and extract it to a directory.
2. Install the debug plug-in in vscode
Click expand in the right column, enter xdebug, php debug out, and click install.
In the menu bar: file-> preferences-> configuration, add a new line of configuration on the right:
"php.validate.executablePath": "D:/xampp/php/php.exe"
3. Verify whether the configuration is successful
Create a new folder php and a new test.php file in the folder.
Note that you must open a folder to successfully set breakpoint debugging, and a single file is invalid.
Set a breakpoint and start debugging. Click the gear, select php- > select listen for xdebug (the content of the profile does not need to be moved)
In the cmd window, execute netstat-an to see if the machine is listening on port 9000.
After reading this article, I believe you have a certain understanding of "how vscode configures the php development environment". 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.