Comments (1)
Visual Studio Code 断点调试
浏览器调试
设置断点
按F5 配置 VSCode 连接到 Chrome
会打开 .vscode/launch.json
文件 ,修改端口为当前项目的端口
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}"
}
]
}
F5 开始调试
from blog.
Related Issues (20)
- React Hooks HOT 4
- React Router v6 HOT 1
- Vite HOT 2
- front business logic 前端业务逻辑 HOT 2
- preconstruct HOT 5
- 运维Ops HOT 2
- Turborepo
- Lint HOT 5
- Storybook HOT 3
- esbuild HOT 5
- Commissioning 调试 HOT 1
- express-gateway HOT 1
- Nestjs HOT 1
- 领域驱动设计 Domain-Driven Design DDD HOT 8
- Vue 3 HOT 1
- yarn
- Arduino HOT 17
- C 语言 HOT 3
- IoT 物联网 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blog.