It would be a shame to have to shoot the perps while that dog is in the line of fire.
Plan carefully.
A good dog can be hard to replace (but not nearly as hard as a family member).
Then you'll have plenty of room to shoot over him.
All three of my dogs are trained to "whoa" after flushing birds, so they won't get shot. You could train a house dog the same way you train a bird dog or retriever.
It's a good idea to make sure they're stanch to shot too.
With my luck, if I shot a burglar my dogs would do their level best to retrieve him.