Debugging code not possible with browser dev tools

Hi everyone,

I’m looking to get help. I’m trying to debug some frontend JS code I’m trying to write in the Preview mode. But when I set a breakpoint in the browser in the way the developer tools indicate the breakpoint is just not hit when I go back to the editor and then back into Preview mode. I’m using Chrome. Anyone know what could be the problem in this case?

Thanks in advance!