Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eyeglass-debug

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eyeglass-debug

Debugging. For Sass.

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

eyeglass-debug

Provides a wrapper around debug to allow debugging messages within an eyeglass module.

Usage

@import "eyeglass-debug";

@include debug("my-module", "my message");
// debug as a mixin:
@include debug($namespace, $message);

// debug as a function:
$tmp: debug($namespace, $message);

Enabling a namespace

By default, namespaces are disabled. You'll have to enable the namespace to see the log messages.

via options

var eyeglass = require("eyeglass");
var options = eyeglass({
  debug: {
    enable: ["foo", "bar"] // "foo" and "bar" namespaces will be enabled
  }
});

via Sass

@include debug-enable("foo");

Keywords

FAQs

Package last updated on 02 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc