Ok, just realized we are doing this wrong. In p5.js mode, when you print something, it will not appear in the console in the PDE. Instead, when you run a p5js sketch, the PDE will launch a browser session and your sketch will be render there. To see the output from print() or console.log(), you need to use the developer tools that comes with the browser. For instance, in firefox you open the developer tools and then hit the console tab. For more information, you could:
- Check previous posts talking about
developers tools - Check videos from Daniel Shifman
- Check resources like Happy Coding
If you try the latest release of the online editor, the console is integrated as part of the online editor IDE. You should check it out.
Kf