Was building a JS playground to help visualize how variables change during execution. It requires user to manually write log using
Would be great if the app can automatically detect changes or print out everything needed to see at each step, just like a debugger.
Then I discovered the Chrome Debugging Protocol, which is exactly what I needed. It’s the communication protocol to let you communicate with a running Node.JS Debugger or Chrome Debugger process, control the debug flow such as step in, step out, execute code on the current call frame,…