# Text Not Displaying In Console

**URL:** <https://discourse.processing.org/t/text-not-displaying-in-console/3581>\
**Category:** Beginners\
**Created:** [September 16, 2018, 8:04pm UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581 "2018-09-16T20:04:46Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![HoboGreed](https://avatars.discourse-cdn.com/v4/letter/h/da6949/32.png) [@HoboGreed](https://discourse.processing.org/u/HoboGreed)\
**Post date:** [September 16, 2018, 8:04pm UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581/1 "2018-09-16T20:04:46Z")

</div>

Hard to be a noob…why isn’t print displaying in the console?

```auto
function setup() {
  createCanvas(500,500);
  print("ummmmmmm.....");
}

function draw() {
 
}

```

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [September 16, 2018, 9:20pm UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581/2 "2018-09-16T21:20:13Z")

</div>

Are you using the [editor.p5js.org](http://editor.p5js.org) to do this?

I copied and pasted your code there and I noticed the double quote characters that you are using is not proper. Either change them to the proper double quotes (not sure what keyboard language settings you have setup there) or, since you are working with javascript, you can use single quote: `print('ummmmmmm…');`

Kf

---

<div class="post-metadata">

**Author:** ![HoboGreed](https://avatars.discourse-cdn.com/v4/letter/h/da6949/32.png) [@HoboGreed](https://discourse.processing.org/u/HoboGreed)\
**Post date:** [September 16, 2018, 9:29pm UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581/3 "2018-09-16T21:29:48Z")

</div>

I’m using the p5.js mode in Processing.

---

<div class="post-metadata">

**Author:** ![HoboGreed](https://avatars.discourse-cdn.com/v4/letter/h/da6949/32.png) [@HoboGreed](https://discourse.processing.org/u/HoboGreed)\
**Post date:** [September 16, 2018, 9:33pm UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581/4 "2018-09-16T21:33:22Z")

</div>

I only used the single quote because it is what is used in the reference example. Since double quote wasn’t working I used them both as I have no way of knowing which is correct.

---

<div class="post-metadata">

**Author:** ![codingking03](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@codingking03](https://discourse.processing.org/u/codingking03)\
**Post date:** [September 16, 2018, 11:37pm UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581/5 "2018-09-16T23:37:41Z")

</div>

for p5.js you use `console.log(whatToLog);`

---

<div class="post-metadata">

**Author:** ![codingking03](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@codingking03](https://discourse.processing.org/u/codingking03)\
**Post date:** [September 16, 2018, 11:38pm UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581/6 "2018-09-16T23:38:07Z")

</div>

although it may not work in processing ide…

---

<div class="post-metadata">

**Author:** ![HoboGreed](https://avatars.discourse-cdn.com/v4/letter/h/da6949/32.png) [@HoboGreed](https://discourse.processing.org/u/HoboGreed)\
**Post date:** [September 17, 2018, 2:18am UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581/7 "2018-09-17T02:18:45Z")

</div>

console.log doesn’t seem to work either. I sent an email to Fathom Information Design whose name is listed in the Mode Install Window. Lets see what they say if anything

---

<div class="post-metadata">

**Author:** ![codingking03](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@codingking03](https://discourse.processing.org/u/codingking03)\
**Post date:** [September 17, 2018, 11:59am UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581/8 "2018-09-17T11:59:09Z")

</div>

yeah i recommend you just make a javascript setup this guy has some good tutorials:

[![](https://img.youtube.com/vi/nmZbhManVcY/hqdefault.jpg "1.2: p5.js with Brackets - p5.js Tutorial") ](https://www.youtube.com/watch?v=nmZbhManVcY)

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [September 17, 2018, 1:50pm UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581/9 "2018-09-17T13:50:40Z")

</div>

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](https://happycoding.io/tutorials/javascript/developer-tools)

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

---

<div class="post-metadata">

**Author:** ![HoboGreed](https://avatars.discourse-cdn.com/v4/letter/h/da6949/32.png) [@HoboGreed](https://discourse.processing.org/u/HoboGreed)\
**Post date:** [September 17, 2018, 9:10pm UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581/10 "2018-09-17T21:10:37Z")

</div>

Kinda clumsy. I’ll just text var values to the screen. I don’t like online editors for some reason… Dunno why.  
Thanks for all your time.

---

<div class="post-metadata">

**Author:** ![codingking03](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@codingking03](https://discourse.processing.org/u/codingking03)\
**Post date:** [September 20, 2018, 6:40pm UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581/11 "2018-09-20T18:40:50Z")

</div>

In addition to what @kfrajer said I do reccomend you setup p5.js using atom:

> **[atom/atom](https://github.com/atom/atom)**
>
> :atom: The hackable text editor. Contribute to atom/atom development by creating an account on GitHub.

  
just scroll down and find your OS and install it.

---

<div class="post-metadata">

**Author:** ![HoboGreed](https://avatars.discourse-cdn.com/v4/letter/h/da6949/32.png) [@HoboGreed](https://discourse.processing.org/u/HoboGreed)\
**Post date:** [September 26, 2018, 2:14pm UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581/12 "2018-09-26T14:14:44Z")

</div>

Trying to get Atom to work with p5.js but so far no luck. Can’t get Brackets to work either.

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [September 27, 2018, 2:59pm UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581/13 "2018-09-27T14:59:58Z")

</div>

> [@Code 800A0404 issue](https://discourse.processing.org/t/code-800a0404-issue/2036/3):
>
> Easiest & fastest recipe to run “.js” sketches under p5.js: running_man Install any Firefox-based browser in your OS and use it to open your “index.html” file: fox_faceInstall Notepad2 or Notepad++ (or both) in your OS and use it to type in your “sketch.js” file there: scroll[https://XhmikosR.GitHub.io/notepad2-mod/](https://XhmikosR.GitHub.io/notepad2-mod/)[https://Notepad-Plus-Plus.org](https://Notepad-Plus-Plus.org) You can setup those text editors to use UTF-8 and LF line endings for better compatibility. bulbHere’s my minimum “index.html” te…

---

<div class="post-metadata">

**Author:** ![HoboGreed](https://avatars.discourse-cdn.com/v4/letter/h/da6949/32.png) [@HoboGreed](https://discourse.processing.org/u/HoboGreed)\
**Post date:** [September 27, 2018, 5:33pm UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581/14 "2018-09-27T17:33:35Z")

</div>

Well, I’ve got Atom working well but how can I auto-update in Atom. Right now I have to save a program for any changes in the program.

---

<div class="post-metadata">

**Author:** ![codingking03](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@codingking03](https://discourse.processing.org/u/codingking03)\
**Post date:** [September 27, 2018, 7:15pm UTC](https://discourse.processing.org/t/text-not-displaying-in-console/3581/15 "2018-09-27T19:15:14Z")

</div>

I synchronize my codes by using one-drive. You need to get used to using save shortcuts like:

Ctrl+s in Windows os  
and  
Cmd+s in Mac os
