[0.0.5] Add xType.guard
Add in fn_debug that logs errors