PullJosh / leopard-website

This repo contains the source code for the Leopard website
https://leopardjs.com
14 stars 3 forks source link

Show console logs in editor #63

Open PullJosh opened 4 months ago

PullJosh commented 4 months ago

Requested by Thebro57 on Scratch: https://scratch.mit.edu/projects/1043871984/#comments-413169206

My only real problem is there's no debug tab for errors from the console. Without those errors, I have literally no idea why projects won't run. I would probably place a debug tab as a switchable tab with the sprite "folder" selection menu.

I think this is a great idea and will probably implement it exactly as described.

It seems like console-feed is the best package for embedding a Chromium-style console into the page: https://www.npmjs.com/package/console-feed

PullJosh commented 3 months ago

Got another request for this: https://scratch.mit.edu/users/PullJosh/#comments-340400388