Skip to content

Instantly share code, notes, and snippets.

Created Oct 10, 2020
What would you like to do?
Ultra-light Java Debugging Class
public class Debug {
public static boolean DEBUG = true;
public static void format(String format, Object... args) {
println(String.format(format, args));
public static void println(String s) {
if (DEBUG) {
public static void println() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment