I am looking for something like Debugger.Launch() in .NET, which breaks into the debugger programmatically.
I am not looking for a cross browser way to do it, just Google Chrome is good enough.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, you need to use:
The script will break exactly at line where you put
debuggerkeyword.To view it, you will first need to open Tools -> Developer tools (or pressing F12) and then by selecting your file from Scripts tab.