Debug the os system