DebugR
Pangkalahatang-ideya
Receive debugging information alongside XMLHttpRequests.
Server code (example is php, but the extension is language agnostic): <?php 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: <script src='js/debugr.js'></script> <script> debugR(function (message, details) { console.log(message); }); </script>
0 sa 5Walang rating
Mga Detalye
- Bersyon1.3
- Na-updateMayo 16, 2018
- Iniaalok ngBob Fanger
- Laki666KiB
- Mga WikaEnglish
- Developer
Email
bfanger@gmail.com - Hindi traderHindi tinukoy ng developer na ito ang sarili bilang trader. Para sa mga consumer sa European Union, pakitandaang hindi naaangkop ang mga karapatan ng consumer sa mga kontrata sa pagitan mo at ng developer na ito.
Privacy
Suporta
Para sa tulong sa mga tanong, suhestyon, o problema, pakibuksan ang page na ito sa iyong desktop browser