debugging plunker in chrome developer tools

Dmitry picture Dmitry · Sep 25, 2014 · Viewed 10.2k times · Source

I created a javascript file in Plunker and I want to debug it. When I open 'Sources' panel, I don't see js file that I created. I only see plenty of Plunker js files. Please advice. Thanks

Answer

dwbartz picture dwbartz · Mar 31, 2015

Another way is to put this in your javascript file

debugger;

and leave the console open, which will force the debugger to not only stop there but to also open the file.