All of the above. Depends on the language and the capabilities of the IDE I'm using with the language. Breakpoints aren't always supported. Printing something is okay, though I tend to shy away from that nowadays. I prefer logging (either console logging or log file).