当前位置:网站首页>Debug locally and start the local server in vs code
Debug locally and start the local server in vs code
2022-08-04 20:25:00 【Full stack programmer webmaster】
Hello everyone, meet again, I'm your friend Quanstack Jun.
1 Debugging locally in vs code 1. First install a plugin on VSCode: Debugger for Chrome, as shown in the following figure: Enter Debugger for Chrome in the search box and click Install
2. For the configuration file, click the buttons in the red circle from left to right, and then the launch.json file will appear, and add configuration information in it.There will be a previously configured name, here is "Debug with native chrom"
4. After selecting the name, press F5 directly, the browser interface will pop up, and you can debug the image The above configuration has not opened the server, the above operation is equivalent to opening the interface directly in the browser
Two open the local server
1. Open VS Code, then click "View" => "Debug Console" or directly press the shortcut key ctrl+shift+y to bring up the control panel
2. Click "Terminal" and directly enter npm install -g live-server in it to install live-server globally npm install -g live-server
3. After the installation is complete, the version information of the live-server will appear, indicating that the installation is successful
4. Enter in the terminal: live-server and the following information will appear
Then directly in the browser pop-up interface, select the running file
Publisher: Full-stack programmer, please indicate the source: https://javaforall.cn/106437.htmlOriginal link: https://javaforall.cn
边栏推荐
- Elastic Search 根据匹配分和热度分排序
- 如何使用 jMeter Parallel Controller - 并行控制器以及一些常犯的错误
- To -.-- -..- -
- 【CAS:2306109-91-9 |胺-PEG4-脱硫生物素】价格
- 如何推动乡村振兴的落地
- The book "The Essence of Alipay Experience Design", a record of knowledge related to testing
- Initialization process of SAP UI5
- Web3时代的战争
- 微信小程序云开发 | 赠、删、改城市名称信息的应用实现
- The list of Kubernetes - watch mechanism
猜你喜欢

零知识证明笔记——私密交易,pederson,区间证明,所有权证明

简单理解 JS 事件循环

小软件大作用 | 如何省时省力进行Gerber图层快速对比?

工龄10年的测试员从大厂“裸辞”后...

The book "The Essence of Alipay Experience Design", a record of knowledge related to testing

AWS SES 的监控和告警

Desthiobiotin-PEG4-Azide_脱硫生物素-叠氮化物 100mg

"WAIC 2022 · hackers marathon" two ants wealth competition invited you to fight!

蚂蚁集团时序数据库CeresDB正式开源

37.轮播图
随机推荐
从卖产品到卖“链路”:20条策略 解读直播带货迭代玩法
如何手动下载并安装 Visual Studio Code 的 SAP Fiori tools - Extension Pack
C#将对象转换为Dictionary字典集合
MySQL field type
Use "green computing" technology to promote sustainable development of computing power
c语言小项目(三子棋游戏实现)
Using Baidu EasyDL to realize forest fire early warning and identification
zynq records
深度解析:为什么跨链桥又双叒出事了?
Nuxt.js的优缺点和注意事项
Qt Designer生成的图形可以自适应窗口的大小变化
SAP UI5 的初始化过程
C#的Dictionary字典集合按照key键进行升序和降序排列
Embrace the Cmake child is simple and practical, but inflexible
Chrome安装zotero connector 插件
如何进行AI业务诊断,快速识别降本提效增长点?
如何找到某个 ABAP structure 某字段的源头来自哪个数据库表
EasyUi常用代码
awk statistical difference record
vehemently condemn