Skip to content
/ unbug Public

(WIP) JS devtools, in your terminal 🔧

Notifications You must be signed in to change notification settings

l-portet/unbug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
+------------------------------------------------------------------------------+

About

(WIP) JS devtools, in your terminal 🔧

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published