---
title: The Console
project: LessCode
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/lesscode/1-0/guides/console/
updated: 2026-11-19T04:41:07.272Z
---

# The Console

> Read log lines and errors of your flow in the Console panel.

The Console panel shows errors raised by nodes and, with a **Console debug** node, the lines that your code writes with `console.log()`.

## Open the Console

Select **Console** in the toolbar. The panel opens at the bottom of the designer. Each line starts with the date and time. Errors are red.

![The Console panel with log lines and errors](/files/Jap1ZO22O61f.webp)

- Select the bin icon to empty the Console.
- Select the red cross to close the panel.

## Show console.log() lines

A new flow already has a **Console debug** node. You need only one in a flow.

1. Double-click **Console debug**.
2. Tick **Capture all `console.log()`**.
3. Select **APPLY** in the window.

![The Console debug settings](/files/Jap1ZQ23O60f.webp)

From now on, `console.log()` in a [Code](../../reference/code/) node writes to the Console panel instead of the terminal. Use it to follow your data:

```js
console.log('Heartbeat received:', value);
```

Without a Console debug node, or with the option off, these lines go to the terminal where LessCode runs.
