egg调试请教
config端口是7001 配置调试的launch.json如下:
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Egg Debug",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "debug", "--", "--inspect-brk"],
"console": "integratedTerminal",
"restart": true,
"protocol": "auto",
"port": 9229,
"autoAttachChildProcesses": true
}
]
启动调试后如下
目前7001访问不了,9229 5800 也不行,请问怎么发起请求进入断点?
1 回复
先改为
"runtimeArgs": ["run", "debug"],
试试