Australian batter Josh Inglis scored a blistering 102 off 93 balls on his debut against Sri Lanka on day 2 of the first Test on Thursday.