Breakpoint after page reload

I need to stop at a breakpoint after reloading the page. I set a breakpoint in the code, but after rebooting it is disabled.

put

debugger; 

in the code it works fine.

But I was wondering if there is a way to do this in firebug or chrome dev tools.

+8
javascript google-chrome-devtools breakpoints firebug
source share
1 answer

Perhaps you have options in the URL of the page that changes when you reload.

http://website.com/page.html?stamp=20120516103456

Then you load a new page with every update.
This may explain why your breakpoint disappears.

+13
source share

All Articles