I wanted to write a debugger for my Love2d game, but I can't print() to the command line. When I try to use print() nothing appears in the command line.
This might happen on some computers if you have console buffering turned on (by default). You can call this at the beginning of your main.lua and see if it helps:
io.stdout:setvbuf('no')