Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hediet/vscode-realtime-debugging
An extension for VS Code that visualizes how a program is being executed in real time.
https://github.com/hediet/vscode-realtime-debugging
Last synced: about 2 months ago
JSON representation
An extension for VS Code that visualizes how a program is being executed in real time.
- Host: GitHub
- URL: https://github.com/hediet/vscode-realtime-debugging
- Owner: hediet
- License: gpl-3.0
- Created: 2020-05-14T21:34:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T18:11:38.000Z (over 1 year ago)
- Last Synced: 2024-05-12T04:32:52.999Z (4 months ago)
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=hediet.realtime-debugging
- Size: 1.36 MB
- Stars: 274
- Watchers: 7
- Forks: 16
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-list - vscode-realtime-debugging
README
# 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).