I'd call 911 and obtain a position downstairs where I could watch both points of entry to the house, 590A1 in hand. My dog would be going crazy, so anyone jiggling the handle or attempting to ram on the door would clearly be up to no good (and probably has a death wish.)
If it seems that there are multiple people trying to gain access from both doors, I'm going to retreat to the basement and seal up in my "gun room"...AR15 will be then be retrieved. Wait on the cavalry from there. Unless glass is broken and door is about to be breached, I can't imagine a situation where I would fire through the door.