inspector失败
来源:4-4 如何使用Chrome开发工具调试

不想变质的沉积岩
2025-04-28
老师,我在控制台 pnpm start:debug 显示这个
Starting inspector on 127.0.0.1:9229 failed: permission denied
程序运行正常,但是在浏览器里看不到node debug的图标,应该是inspector失败了
写回答
1回答
-
Brian
2025-05-03
1. 你看看你的9229端口有没有被占用,比如在终端里面试试
lsof -i :9229
2. 尝试一下其他的端口试试;
--inspect=9230
3. 在Linux或者Macos上使用
sudo pnpm start:debug
00
相似问题