https://github.com/deepred5/vscode-remote-debug
vscode远程调试
https://github.com/deepred5/vscode-remote-debug
Last synced: 10 months ago
JSON representation
vscode远程调试
- Host: GitHub
- URL: https://github.com/deepred5/vscode-remote-debug
- Owner: deepred5
- Created: 2019-10-16T10:10:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-12T23:27:19.000Z (about 4 years ago)
- Last Synced: 2025-01-01T20:08:33.119Z (over 1 year ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vscode-remote-debug
vscode远程调试
### debug启动
登录远程服务器,启动项目
注意:`9229`端口需要被防火墙放开
```bash
# 直接启动
node --inspect=0.0.0.0:9229 index.js
# 或者使用pm2启动
pm2 start start.json
```
### 检查是否debug开启
访问`远程服务器ip:9229/json/version`
### 本地vscode访问
debug模式启动`remote启动程序`即可