Use Arduino simulation software to learn to program and to develop electronic circuits. AVR emulators replicate hardware level behavior of your MCU.