[Add] Debugging and printing function.