Cost is king; however you can trim code space -- at whatever expense of good coding practice -- do it.
You best debugging tool is likely an oscilloscope and a couple of free output lines.
Forget...