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

broccoli-debug

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-debug

Enable easy debugging of broccoli pipelines with broccoli-debug!

  • 0.6.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
62K
decreased by-54.38%
Maintainers
3
Weekly downloads
 
Created

What is broccoli-debug?

The broccoli-debug npm package is a tool for debugging Broccoli.js build pipelines. It allows developers to inspect and visualize the intermediate states of their build trees, making it easier to understand and troubleshoot the build process.

What are broccoli-debug's main functionalities?

Debugging Build Trees

This feature allows you to insert debug checkpoints in your Broccoli build pipeline. By labeling different stages of the build process, you can inspect the state of the build tree at various points.

const debugTree = require('broccoli-debug');

let tree = someBroccoliTree;
tree = debugTree(tree, 'initial');

// Perform some transformations

// Debug the transformed tree
tree = debugTree(tree, 'transformed');

Visualizing Build Trees

This feature allows you to visualize the build tree at different stages. By using the debugTree function with appropriate labels, you can generate visual representations of the build tree, which can be helpful for understanding the build process and identifying issues.

const debugTree = require('broccoli-debug');
const broccoli = require('broccoli');

let tree = someBroccoliTree;
tree = debugTree(tree, 'visualize');

const builder = new broccoli.Builder(tree);

builder.build().then(() => {
  console.log('Build complete. Check the debug output for visualization.');
});

Other packages similar to broccoli-debug

Keywords

FAQs

Package last updated on 04 Oct 2018

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