Set optimize to false in debug mode.