pixelkind / p5canvas

An interactive preview for writing p5js code in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=garrit.p5canvas
Other
39 stars 4 forks source link

Forwarding p5.js friendly errors, resolving #57 #66

Open ccoenen opened 1 year ago

ccoenen commented 1 year ago

This defines an error message handler. This is neccessary, because the friendly error messages lead with a \n newline and thus do not get put onto the console. (apparently subsequent lines are just discarded).

It also updates p5.js to 1.4.2 and changes from minified to un-minified, because minified does not do the friendly error messages.