diff --git a/src/sparky.c b/src/sparky.c index 1defdac..7623a66 100644 --- a/src/sparky.c +++ b/src/sparky.c @@ -24,6 +24,11 @@ #include int main(int argc, char **argv) { +#ifndef NDEBUG + SetTraceLogLevel(LOG_DEBUG); + TraceLog(LOG_WARNING, "Debug mode is enabled"); +#endif + if (argc == 2 && (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help"))) { TraceLog(LOG_INFO, "usage: %s [--server]", argv[0]); return 0;