How do I improve my debugging skills in an unfamiliar code?

The code is in React, Typescript and deals with generating pdf by screenshotting the React screens using a library. I don't know how to read React or Typescript.