Godot Awesome Debug Print

An asset by AustinDoss
The page banner background of a mountain and forest
Godot Awesome Debug Print hero image

Quick Information

0 ratings
Godot Awesome Debug Print icon image
AustinDoss
Godot Awesome Debug Print

Inspired by https://github.com/gruns/icecreamBetter debug information using ad.p(arg) rather than print(arg)Awesome Debug returns the input argument so it can be dropped into existing code without issue.

Supported Engine Version
3.3
Version String
0.1
License Version
MIT
Support Level
community
Modified Date
3 years ago
Git URL
Issue URL

Godot-Awesome-Debug-Print

Inspired by https://github.com/gruns/icecream

Better debug information using ad.p(arg) rather than print(arg)

Awesome Debug returns the input argument so it can be dropped into existing code without issue.

Installation

Godot Awesome Debug Print needs to be enabled as a singleton with name "ad"

README Image of project settings autoload configuration

Use

Debug print with ad.p(arg)

var myString = "Hello World"
ad.p(myString)

1635267189| string| : Hello World _ready 39 res://Player/player.gd


Add a description to your debug print with ad.d(description, arg)

var myNumber = 10
ad.d("very important number", myNumber)

1635267628| int| very important number: 10 _ready 39 res://Player/player.gd

Performance

Turn off each debug print with ad.off(arg) or ad.off_d(description, arg)

Enable and disable chunks of debug prints with ad.enable() and ad.disable()

Inspired by https://github.com/gruns/icecream

Better debug information using ad.p(arg) rather than print(arg)

Awesome Debug returns the input argument so it can be dropped into existing code without issue.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Godot Awesome Debug Print icon image
AustinDoss
Godot Awesome Debug Print

Inspired by https://github.com/gruns/icecreamBetter debug information using ad.p(arg) rather than print(arg)Awesome Debug returns the input argument so it can be dropped into existing code without issue.

Supported Engine Version
3.3
Version String
0.1
License Version
MIT
Support Level
community
Modified Date
3 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers