标签:pom 网上 remote reload frontend type vsc bst 版本
node 使用版本
v8.11.1
node 查看 调试参数 ==> node -h 找出调试相关 参数,如果你在阅读本文后调试不成功,看看是不是调试的参数不对
node inspect script.js [arguments]
--inspect[=[host:]port] activate inspector on host:port
--inspect-brk[=[host:]port]
activate inspector on host:port
--inspect-port=[host:]port
set host:port for inspector
版本: 2.2.5
以connector为例,编辑servers.json,将如下配置添加到 connector的配置末尾
"args": " --inspect=127.0.0.1:16772"
```
"connector": [
{"id": "conn1", "host": "127.0.0.1","port": 3150, "natHost":"192.168.0.108","natPort": 3010, "clientPort": 3010, "frontend": true,"reloadRemotes":true,"args": " --inspect=127.0.0.1:16772 "}
],
```
```
{
"type": "node",
"name": "Attach to Remote",
"port": 16772,
"request": "attach",
},
```
vscode调试pomelo和pomelo使用vscode调试
标签:pom 网上 remote reload frontend type vsc bst 版本
原文地址:https://www.cnblogs.com/cheerupforyou/p/9098032.html