remove katnetic from build; add debugging flags