Taking on still more debt in pursuit of a goal can sometimes make sense. Here’s when.