Vs Code
Debug React
&Vue
-
npm start
编译成功后设置断点 - 点击调试按钮
- 自动停在断点处
- 添加
launch.json
//跳过源码或者不用添加下面命令直接点击 F5 "skipFiles": [ "<node_internals>/**" ]
https://code.visualstudio.com/docs/nodejs/
React
&Vue
npm start
编译成功后设置断点
launch.json
//跳过源码或者不用添加下面命令直接点击 F5
"skipFiles": [
"<node_internals>/**"
]
https://code.visualstudio.com/docs/nodejs/