Home  >  Article  >  Development Tools  >  Can vscode write php?

Can vscode write php?

王林
王林Original
2019-11-06 14:05:2316401browse

Can vscode write php?

Visual Studio Code is a lightweight and powerful code editor that supports Windows, OS X and Linux. It has built-in support for JavaScript, TypeScript and Node.js, and has a rich plug-in ecosystem. You can install plug-ins to support other languages ​​such as C, C#, Python, and PHP.

Visual Studio Code method to configure the php development environment:

Preparation work:

1. Download Visual Studio Code;

2. Download xampp, because the package saves trouble and is very convenient for personal use;

3. Download xdebug, remember to match the php version, otherwise it will be invalid.

Configuration steps:

1. Install php related plug-ins in Visual Studio Code

Can vscode write php?

2. Configure the php path in the preferences

Can vscode write php?

3. Place the Xdebug dll in the php related directory

Can vscode write php?

4. Add the following code to the php.ini file

Can vscode write php?

5. Set breakpoint debugging in vscode. Note: You must open a folder to successfully set breakpoint debugging. A single file is invalid

Can vscode write php?

Recommended tutorial:vscode tutorial

The above is the detailed content of Can vscode write php?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:vscode close error promptNext article:vscode close error prompt