How can I step through my .tsx code file line by line? Either using Google Chromes developer tools or Visual studio code the debugger steps into internal Typescript/JavaScript libraries?

It becomes very time consuming debugging the pnp js API calls this way.

How do I only step through my own Typescript code files and not have to step through the millions of lines in the internal libraries?

Any suggestions on this would be highly appreciated.

  • are you debugging on workbench page ? Apr 12 '18 at 4:51
  • What exactly do you mean? I am debugging on workbench.aspx page
    – mohd tahir
    Apr 12 '18 at 4:54
  • 2
    In your developer tools, find the webpack folder and then attach to debugger, check this image Apr 12 '18 at 5:28
  • Thanks for your help Gautam. Though this is something I am already doing.
    – mohd tahir
    Apr 12 '18 at 9:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.