chair-debug
Visual Studio Code plugin for chair
Getting Started
- 添加
launch.json , 可以通过debug 菜单项直接添加
- 添加debug配置,配置文件如下
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach to Process",
"processId": "${command:extension.pickChairProcess}",
"port": 5858,
"restart": true
}
]
}
这里主要关注processId 这个配置项,restart 配置当修改文件,app worker 重启后,是否自动attach worker 进程
| |