“DebugR”的产品徽标图片

DebugR

扩展程序开发者工具16 用户
DebugR的项目媒体 1(屏幕截图)

概述

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 星(5 星制)无评分

详细了解结果和评价。

详情

  • 版本
    1.3
  • 上次更新日期
    2018年5月16日
  • 提供方
    Bob Fanger
  • 大小
    666KiB
  • 语言
    English
  • 开发者
    邮箱
    bfanger@gmail.com
  • 非交易者
    该开发者尚未将自己标识为交易者。欧盟地区消费者须知:消费者权利可能不适用于您与该开发者达成的合约。

隐私权

该开发者未就收集或使用您的数据提供任何相关信息。

支持

若有任何疑问、建议或问题,请在桌面浏览器中打开此页面

Google 应用