Skip to content

Instantly share code, notes, and snippets.

@kellegous
Last active August 29, 2015 13:57
Show Gist options
  • Save kellegous/9378892 to your computer and use it in GitHub Desktop.
Save kellegous/9378892 to your computer and use it in GitHub Desktop.
chrome.debugger.attach({tabId: 1}, "1.0", function() {
if (chrome.runtime.lastError) {
console.error(chrome.runtime.lastError);
return;
}
chrome.debugger.sendCommand({tabId:1},
"Timeline.start",
{ maxCallStackDepth: 5},
function(res) {
// ?boom
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment