First make sure you’re not throwing errors.
Make sure your log console selector buttons are enabled. See this graphic:
Second make sure you don’t have COLLAPSE checked in the Console window.
If it still doesn’t work, rip ALL the code out except the Debug.Log() calls