Bring relatively abstemious - I found three whiskies would slow my brain to the point where I progressively had to think harder about the code I was reading. Each stage could be the successful one. After three I was near to sleep and soon in bed. Sometimes the sleep itself produced the eureka thought on waking.