Receive debugging information alongside XMLHttpRequests.

Latest Version

Version
1.3
Update
May 16, 2018
Size
666KiB
Developer
Category
Users
26
Rating
0 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
WebRequest
WebRequestBlocking
Tabs
Http://*/*
Https://*/*
See more

DebugR Extension

Server code (example is php, but the extension is language agnostic):

if (isset($_SERVER['HTTP_DEBUGR'])) { // Only send headers when DebugR is enabled
// Send a message alongside the request.
header('DebugR: '.base64_encode('Hello DebugR'));
// Append a unique label to send multiple messages.
header('DebugR-my-first-label: '.base64_encode('Moarr information'));
}
?>

Client via javascript:

window.addEventListener('message', function (e) {
if (e.data.debugR) {
console.log(e.data);
}
}, false);
document.documentElement.setAttribute('data-debugR'); // Signal the extension that the eventlistener is active.

Using debugr.js helper:


Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx","name": "DebugR","version": "1.3","manifest_version": 2,"description": "Receive debugging information alongside XMLHttpRequests.","icons": {"16": "img/16.png","128": "img/128.png"},"background": {"scripts": ["js/debugr-Daemon.js"]},"content_scripts": [{"matches": ["http://*/*", "https://*/*"],"js": ["js/debugr-forwarder.js"],"run_at": "document_start"}],"permissions": ["webRequest","webRequestBlocking","tabs","http://*/*","https://*/*"]}
Read more

Similar Extensions

icon

DISPLAY_DEBUG_INFO Cookie Creator Extension · Developer Tools 26 0 ★ 159KiB

icon

DHTMLConsole Extension · Developer Tools 26 5 ★ 357KiB

icon

XHR JSON Panel Extension · Developer Tools 26 18 ★ 45.82KiB

icon

ARSKit Web Debugger Extension · Developer Tools 26 3 ★ 180KiB

icon

Developer URL bar Extension · Developer Tools 26 2 ★ 41.03KiB

icon

PHP shell Extension · Developer Tools 26 19 ★ 12.46KiB

icon

Witchcraft: JS/CSS injector Extension · Developer Tools 26 10 ★ 27.24KiB

icon

Dev Helpers Extension · Developer Tools 26 6 ★ 135KiB

icon

Console Injector Extension · Developer Tools 26 12 ★ 20.4KiB

icon

Quick Overflow Extension · Developer Tools 26 3 ★ 57.43KiB

icon

DOM-JSON Tree Matcher Extension · Developer Tools 26 0 ★ 18.58KiB

icon

Web Injector Extension · Developer Tools 26 8 ★ 152KiB

icon

Headerbid Expert Extension · Developer Tools 26 23 ★ 32.83KiB

icon

Scripter debugger extension Extension · Developer Tools 26 2 ★ 1.04MiB

icon

JScript tricks Extension · Developer Tools 26 50 ★ 340KiB

icon

d3coder Extension · Developer Tools 26 37 ★ 108KiB

icon

Lavaca Developer Tools Extension · Developer Tools 26 0 ★ 10.42MiB

icon

captureCalls Extension · Developer Tools 26 1 ★ 9.63KiB

icon

Code Formatter Extension · Developer Tools 26 35 ★ 5.9MiB

icon

DevTools Classes & Atributes panel Extension · Developer Tools 26 4 ★ 12.75KiB

icon

Finding patterns Extension · Developer Tools 26 5 ★ 171KiB

icon

Hidden Input Finder Extension · Developer Tools 26 1 ★ 245KiB

icon

LiveScriptConsole Extension · Developer Tools 26 2 ★ 388KiB

icon

js Encoder Extension · Developer Tools 26 4 ★ 406KiB