P5.js print command and error codes

I am new to replit. I have spent years working with p5.js on their website directly as a teacher, but we are being forced to move off of that site. Replit seems like the best option but I am having some difficulting getting things to work.
First, I am just trying to print out text to the programmers console. I cannot seem to find that console to see the output.
Second, I have put a line of code in that is clearly wrong, but no error message appears anywhere. I am wondering where the error console might be?
Any help you can provide would be very greatly appreciated.


function setup() {
  createCanvas(400, 400);

function draw() {
  print('hello world')
  //this is an error
  circl(200, 200, 200, 200)

Devtools Console can be found here:

Although I highly recommend that you just open the website in a new tab and use your browser’s developer tools (Firefox’s are great)

And by the way, it’s console.log in JavaScript, not print.

1 Like

Thank you very much for the response. Just a clarifaction. What do you mean by useing the browsers development tools. I am using this as a teaching tool, so I have a lot of restrictions on the computers as to what can actually be done at school.

1 Like

On Chromium-based browsers it’d be CtrlJ

1 Like