Fix debug app's locals