Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Tampermonkey script to restyle xDebug Output
// ==UserScript==
// @name xDebug Restyling
// @namespace localhost
// @version 0.1
// @description Restyling Xdebug output
// @author Frank Bueltge
// @match http://*localhost/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
// The styling rules, pure css.
// Example design is here: https://stackoverflow.com/questions/19405735/how-to-change-the-colors-of-xdebug-output
var style = '.xdebug-error{ color: #333; }';
var css = document.createElement("style");
css.type = "text/css";
css.innerHTML = style;
document.body.appendChild( css );
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.