gpt4 book ai didi

node.js - DeprecationWarning : 'node --debug' and 'node --debug-brk' are invalid. 请使用 'node --inspect or ' Node --inspect-brk' 代替

转载 作者:太空宇宙 更新时间:2023-11-04 01:53:30 56 4
gpt4 key购买 nike

当我在 Visual Studio 中运行 Node.js 应用程序时,我收到以下消息:DeprecationWarning: 'node --debug' 和 'node --debug-brk' 无效。

请改用“node --inspect”或“node --inspect-brk”。在命令提示符中。

最佳答案

node --debug 和node --debug-brk 在7.7.0之前的node版本中均用于调试

The legacy debugger has been deprecated as of Node 7.7.0. Please use -->inspect and Inspector instead.

vscode 使用“--inspect --debug-brk”组合在所有 Node 版本中进入 Debug模式

See the response from member of vscode team

关于node.js - DeprecationWarning : 'node --debug' and 'node --debug-brk' are invalid. 请使用 'node --inspect or ' Node --inspect-brk' 代替,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48801933/

56 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com