Implement getInlineCost outside of the struct
Change output to use debug macro