vscode配置
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
上一篇: vs2019-MFC-ODBC使用者向导的手动实现
下一篇: vscode 配置