I know there are debug commands to kill or stun a whole team, but don't recall if there are for individual units.
Another way is how the game lets you shoot dead your own units - you could, as a test, put one unit on top of a dead one and shoot at it with another soldier.