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