This post is more than 5 years old. It may not fully represent my current thoughts on this topic. Please keep that in mind while reading.

So you’ve set up your IDE to debug your webapp. Cool. It’s time to set it up for command line scripts too. No worries, it’s going to be a whole lot faster.