Skip to content

Files

Latest commit

0cc8ceb · May 24, 2023

History

History
52 lines (46 loc) · 2.33 KB

README.md

File metadata and controls

52 lines (46 loc) · 2.33 KB

Unbug (WIP)

A TUI to debug Javascript programs 🔧

Unbig screenshot

# install deps
$ npm i
# run on dev mode
$ npm run dev examples/debug-me.js

Roadmap

  • Chrome Devtools Protocol communication
  • Console (basic features & variables inspection)
  • Console (errors & advanced highlighting)
  • Console (REPL)
  • Menu bar & Tabs
  • Debugger
  • Network
  • Performance
  • Memory

Final UI mockup

+------------------------------------------------------------------------------+
| [1] Console | [2] Debugger | [3] Network | [4] Performance | [5] Memory      | < Menu bar
|------------------------------------------------------------------------------|
| < ▸ {foo: 'bar', plop: true} src/script.js                                   | < Main view
| > let obj = {prop: 42};                                                      |
| < undefined                                                                  |
| > console.log(obj);                                                          |
| < ▸ {prop: 42}                                                               |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|                                                                              |
|------------------------------------------------------------------------------|
| > Object.values(obj).map(value => value \* 2)                                | < REPL (Console tab only)
|------------------------------------------------------------------------------|
|[ (^v) Move (>) Open (<) Close ]                                              | < Controls
+------------------------------------------------------------------------------+