Debugging without Arduino IDE

How could I connect to the serial console for debugging without using the Arduino IDE? Is this possible or is the IDE required for using the console?