3

The F12 tools look good, and I see controls for most of what I would like to use (Continue, Step In, Step Out). But the HTML app I want to debug runs before I can start the F12 tools. What I need is a Restart button, it would seem to me.

Am I missing seeing this, or am I out of luck?

By the way, I see the same problem in Chrome.

2
  • 1
    Just refresh the browser after pressing f12, ctrl-f5 to do a full refresh. Commented Jun 5, 2014 at 14:49
  • put it in debug mode and press crtl-r (will refresh it) Commented Jun 5, 2014 at 14:53

1 Answer 1

7
  1. Open your Page.
  2. Press F12 to display the tools.
  3. Switch to the debugging tab.
  4. Add your breakpoints.
  5. Refresh by pressing F5 or Ctrl+F5 orCtrl+R.
Sign up to request clarification or add additional context in comments.

3 Comments

This works but intermittently. First time, only Ctrl + R worked. All failed after that for three or four reloads, but eventually it "stuck" on the breakpoint, and I can do what I want.
My IE11 does the debug wonderful after reloading the page by pressing only F5. Maybe you just found the first errors in your code.;-) Try out: window.onload = function(){ //Debug at this point console.log("test"); }
i used to clear network cache just in case as well; also sometimes my app won't load until i close F12 -> then it works -> i press F12 again and work as usual

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.