Separated debug and regular pipelines so it's easy to build with count image
Debug.out should go in emulator