欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

vscode配置

程序员文章站 2022-06-01 10:23:13
...

1.Live server插件安装配置
https://blog.csdn.net/qq_35324453/article/details/80983710
npm配置 https://jingyan.baidu.com/article/48b37f8dd141b41a646488bc.html
1)修改npm的模块下载目录

2.debugger for chrome 调试js配置
https://blog.csdn.net/baozhiqiangjava/article/details/80104002
安装debugger for chrome 插件。

Launch.Json 配置

{
“type”: “chrome”,
“request”: “launch”,
“name”: “Launch Chrome against localhost”,
“url”: “http://localhost:8080”,
“webRoot”: “KaTeX parse error: Expected 'EOF', got '}' at position 26: …Root}" }̲, { …{workspaceRoot}”
},
{
“name”: “Launch index.html (disable sourcemaps)”,
“type”: “chrome”,
“request”: “launch”,
“sourceMaps”: false,
“file”: “${workspaceRoot}/jsTest/test1/test1.html” #每次需要修改这里的文件地址
}

代码自动提示 配置
1.安装nodejs
2.Npm install typescript 安装typescript
Bug:卡住https://www.jianshu.com/p/7da75c10b821

   npm config set registry https://registry.npm.taobao.org
npm config set disturl https://npm.taobao.org/dist
npm -g install typescript