Absolutely. I find having a notebook open when writing/debugging code is a godsend. Just keeping a scratchpad of design notes/ideas/tests while I work let's me keep a lot more in my head. Think of it as increasing your level 1 cache. :)
That’s not what this is about though, it’d still be nice if possible, to increase the stack size. The following is a link to “Simple Made Easy”, by Rich Hickey; which is the best talk I’ve ever seen on complexity in software and how to manage it. https://youtu.be/SxdOUGdseq4?feature=shared