0

I am using angular v9. I am able to debug unit test cases in browser using ng test command. However, some source code methods i need to debug in order to inspect why unit test cases are failing, for that i am trying to add breakpoint, but not able to add them where as some source code method i am able to debug. any idea?

Disha
  • 15
  • 5
  • Do you mean the `debugger;` instruction ? https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Instructions/debugger – JulienD Feb 05 '21 at 20:37

1 Answers1

0

There's a thread regarding to [debug tests in ng test].(Debug Tests in NG Test)

Note: Assuming that you are using Google Chrome as a test browser.

raksit31667
  • 50
  • 1
  • 2