google-chrome-devtoolsjsbin

Debugging JSBin with Chrome


I have problem with debugging js code written in js bin with chrome.

Everytime when i edit/click run with JS new source file is generated and old breakpoint are not being hit.

Do you have any solution for this problem?


Solution

  • Just use a debugger statement in your code. Even though jsbin will give you a warning and won't autorun, you can still click the run button (or press āŒƒāŽ) and your code will pause on the debugger statement.