For printing debug statements, do not use the browser console for output. This tab will act like your development terminal/console.

To see compilation errors (e.g. syntax errors), you must interact with the application to trigger the output.

See below for an example of printing output in each of our supported languages:

Clojure

(println "debug")

C# / .NET

using System;
...

Console.WriteLine("debug");

Go

import ( "fmt" )
...

fmt.Println("debug")

Java

System.out.print("debug");

Node

console.log("debug");

PHP

echo "debug";

Python

print("debug")

Ruby

puts "debug"

Did this answer your question?