blueclosure / BCDetect

5 stars 0 forks source link

Ability to directly set a chrome debug breakpoint from the code history flow #23

Open 0xdevalias opened 7 years ago

0xdevalias commented 7 years ago

Currently the code history flow will tell us the URL of the source code file, and the original code for the function at that point in the flow. From that, we can go and lookup the source, and manually set a breakpoint on that function.

It would be really useful if we could just click on a button directly from BCDetect to set a breakpoint on this function, and/or jump to it in the chrome devtools sources tab.

wisec commented 7 years ago

Thanks for your question, as in #22 it is unavailable at the moment on Chrome. I'll leave it open as reminder

0xdevalias commented 7 years ago

I haven't looked too deeply into it, but does the chrome.debugger API expose what's required? Seems to be from a chrome extension, but BCDetect already seems to sideload a local extension anyway.