Debug patch module