# Real-Time Debugging
[![](https://img.shields.io/twitter/follow/hediet_dev.svg?style=social)](https://twitter.com/intent/follow?screen_name=hediet_dev)
## Features
- Highlights statements that write to stdout when they are executed.
- Statements that have a Logpoint on them write to stdout when they are executed ;)
- Shows the text that was written to stdout next to the statement.
- Theoretically supports every debugger and language out there (there is nothing in the implementation specific to JavaScript).
## Demo NodeJS
![](./docs/demo-nodejs.gif)
## Demo Web
![](./docs/demo-web.gif)
## Logpoints
If you are familiar with logpoints, you will never ever need `console.log` for debugging again!
I highly recommend binding the command `Debug: Add Logpoint...` to a shortcut that is easy to reach (I put it on Shift+F2).
With logpoints you don't need to restart a program when you want to visualize its execution.
![](./docs/logpoints.gif)
## Caveats
Does not work when debugging VS Code extension, since they don't write to stdout (`console.log` is patched and the `output` event is not sent by the debug adapter).
没有合适的资源?快使用搜索试试~ 我知道了~
vscode-realtime-debugging:VS Code扩展,可实时查看程序的执行方式
共32个文件
json:13个
ts:4个
md:3个
需积分: 37 2 下载量 81 浏览量
2021-03-08
15:11:43
上传
评论
收藏 780KB ZIP 举报
温馨提示
实时调试 特征 突出显示在执行时写入标准输出的语句。 执行了Logpoint的语句在执行时写入stdout;) 在语句旁边显示写入标准输出的文本。 从理论上讲,它支持所有调试器和语言(在实现中没有特定于JavaScript的内容)。 演示NodeJS 示范网 日志点 如果您熟悉日志点,则永远不需要console.log再次进行调试! 我强烈建议将命令Debug: Add Logpoint...绑定到易于访问的快捷方式(我将其放在Shift + F2上)。 使用日志点,您无需可视化程序执行即可重新启动程序。 注意事项 在调试VS Code扩展时不起作用,因为它们不会写入stdout(已修补console.log且调试适配器未发送output事件)。
资源推荐
资源详情
资源评论
收起资源包目录
vscode-realtime-debugging-master.zip (32个子文件)
vscode-realtime-debugging-master
docs
logo.drawio.png 6KB
demo-nodejs.gif 309KB
demo-web.gif 359KB
logo.png 3KB
logpoints.gif 499KB
package.json 1KB
tslint.json 238B
src
extension.ts 2KB
LineHistory.ts 2KB
ExecutionHighlighter.ts 1KB
tsconfig.json 195B
LICENSE.md 34KB
.gitignore 38B
CHANGELOG.md 44B
demo
chrome
package.json 244B
index.html 91B
src
index.js 185B
tsconfig.json 377B
yarn.lock 149KB
.vscode
launch.json 256B
tasks.json 223B
nodejs
typescript-demo.ts 21B
javascript-demo.js 297B
tsconfig.json 203B
.vscode
launch.json 434B
README.md 1KB
yarn.lock 29KB
.vscodeignore 100B
.vscode
launch.json 418B
settings.json 444B
tasks.json 364B
.prettierrc.json 77B
共 32 条
- 1
资源评论
sleepsoft
- 粉丝: 36
- 资源: 4634
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功