0

Is it possible to set breakpoints on code that was entered on chrome's or firebug's debug console?

1 Answer 1

2

sure! type this into console:

(function(){
    debugger;
    alert(0);
})();

DEMO, (open up console and re-run)

Sign up to request clarification or add additional context in comments.

2 Comments

Wow, great! How did you find out?
@artistoex: experience. If I answered the question feel free to click the checkbox next to the answer.

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.