Dabbler Rookie Learn Web development 6--Vscode development environment configuration

Source: Internet
Author: User
Tags php language

1vscode start a week, and finally make some way, finally find out the point Vscode the setting is what looks like .... Cry

2 in my two days of use to see, General Vscode by default only to open a folder, and then in your open folder automatically generated

A. Vscode folder (hidden, normal invisible)

Two files are generated in the 3.vscode folder

One is Launch.json, which is used for debugging, recording the configuration of your debug

One is Setting.json, this is the user settings, for example, you want to set the font size Ah, or something.

4 I mainly use the JS and PHP language settings for Web development

The installed plugins and configurations are as follows

1launch Configuration {"Type": "Node", "Request": "Launch", "Name": "JS Launch", "program": "/home/dai/graduate-life/web/test.js"}, This is the configuration using JS {"name": "Listen for XDebug", "type": "PHP", "Request": "Launch", "Port": 9000, "program": "/home/dai/ phplearning/1712131_test.php "},{" name ":" Launch currently open script "," type ":" PHP "," Request ":" Launch "," program ":" ${file} "," CWD ":" ${filedirname} "," Port ": 9000},//This is the configuration with PHP file {" name ":" Use native Chrome debugging "," type ":" Chrome "," Request ":" Launch ",//" file ":" ${filedirname} "," url ":" http://localhost/1712131_test.php ",//" url ":" http://mysite.com/ Index.html ",//when using an external server, comment out file, use URL instead, and set Usebuildinserver to false" http://mysite.com/index.html " Runtimeexecutable ":"/usr/bin/google-chrome-stable ",//change to your Chrome installation path" Sourcemaps ": True," WebRoot ":" ${ Workspaceroot} ",//" Prelaunchtask ":" Build "," Userdatadir ":" ${tmpdir} "," Port ": 5433}//This is the configuration that uses Chrome to see the overall page effect

2 User Settings

There's not much to say, mostly I set up a php execution path setting in it

"Php.executablepath": "/usr/bin/php"

Dabbler Rookie Learn Web development 6--Vscode development environment configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.