This is my setup when working with p5.js. Using the Mac app Sizeup, Sublime on the left and Chrome on the right with the console open. In the background I'm running Live Reload which auto reloads the sketch I'm working each time I save. Works really great.
Like this? Then sign-up to The Dawesome Digest - my monthly email newsletter, where I share snap-shots of work-in-progress, news of latest work as well as other things you may find interesting.