So there's a potential scenario coming up in my game. I've "accidentally" given my players a very fortifiable position that could make a cakewalk of a rather grueling fight if they think to use it. It's a small jail with a heavy, sturdy door they could block themselves in with. I have this idea that one of the enemy spellcasters could cast Insect Plague into their room, since he's familiar with that area and the spell doesn't have to be a "point you can see" but instead a "point you choose within range". I'd use this as a tool to force them out of this location and hopefully provide a more interesting fight.
Since it's a conjuration spell, I imagine that it summons the insects FROM that point, so the rule on page 204 of the PHB that says "you need a clear path to your target" doesn't seem like it would apply... Would it?
To target something, you must have a clear path to it, so it can't be behind total cover. If you place an area of effect at a point you can't see and an obstruction, such as a wall, is between you and that point, the point of origin comes into being on the near side of that obstruction.
The wording of that makes me think that the wall would block the spell. If that's the case, this caster also has access to a magic item that gives him the ability to cast the Scrying spell. Since he'd know they're in this jail, he could spawn the sensor inside, then have line of sight to cast Insect Plague.
There's a problem here, though, because Scrying and Insect Plague both require concentration. Would it still be possible for him to cast Insect Plague, but just immediately break concentration on scrying, or would this be impossible?