In my case adding debugger to the code did not work for some reason. However, adding a console log to the code did show the log on the console and clicking the source of the log took me to the code where I was able to add breakpoints.