Debra discovers Dexter’s secret at the end of Dexter season 6, when she walks in on Dexter killing Travis Marshall in a church and Dexter is forced to reveal the truth to her. This moment is the point where Debra learns that Dexter Morgan is a serial killer, and it profoundly changes their relationship and Debra’s path forward.
