---
title: 'Charm Workshop: Debugging Juju Hooks'
description: 'In this charm school Charles Butler and Corey Johns go over the traditional
  way to debug Juju charm hooks, and Corey introduces his new Juju plugin, DHX, designed
  to make debugging hooks much easier. Corey’s debug hook script, DHX, is available
  here: https://github.com/juju/plugins […]'
url: https://canonical.com/blog/charm-workshop-debugging-juju-hooks
---

1. [Blog](https://canonical.com/blog)
2. Article

---

[Jorge O. Castro](https://canonical.com/blog/author/jorge "More about Jorge O. Castro")

21 November 2014

# Charm Workshop: Debugging Juju Hooks

---

Share the article

In this charm school Charles Butler and Corey Johns go over the traditional way to debug Juju charm hooks, and Corey introduces his new Juju plugin, DHX, designed to make debugging hooks much easier.

Corey’s debug hook script, DHX, is available here: [https://github.com/juju/plugins](https://github.com/juju/plugins "https://github.com/juju/plugins")

[Get in touch

Interested in running Ubuntu in your organization?](https://ubuntu.com/about/contact-us/form)

## Sign up for our newsletter

Get the latest Canonical news and updates in your inbox.

Work email:

\*I agree to receive information about Canonical's
products and services.

In submitting this form, I confirm that I have read and agree to
[Canonical's Privacy Notice](https://canonical.com/legal/data-privacy/contact)
and [Privacy Policy](https://canonical.com/legal/data-privacy).

Sign up

## Share on

---

## Related posts

[### From desktop to cloud to road](https://canonical.com/blog/from-desktop-to-cloud-to-road)

In an era where software defines vehicle value, engineering teams face a friction bottleneck. They spend hours fighting dependency conflicts, toolchain mismatches, and...

[Jaume Rafols](https://canonical.com/blog/author/jrafols)

13 November 2026

[### New Edge archive offers opt-in AI-driven security remediation and backports](https://canonical.com/blog/new-edge-archive-offers-opt-in-ai-driven-security-remediation-and-backports)

The open source ecosystem faces an unprecedented wave of vulnerability reports and attacks, driven by AI agents. Our security teams have already shipped double the number of...

[Canonical](https://canonical.com/blog/author/canonical)

12 November 2026

[### Ubuntu Core 26 enters public preview on AWS, Azure, and Google Cloud](https://canonical.com/blog/ubuntu-core-26-public-cloud-preview)

Canonical announced today the public preview of Ubuntu Core 26 images for Amazon Web Services, Microsoft Azure, and Google Cloud. Ubuntu Core is the immutable variant of...

[Canonical](https://canonical.com/blog/author/canonical)

10 November 2026

[### Tigera and Canonical partner to deliver resilient multi-tenant Kubernetes across cloud, on-premises, and edge](https://canonical.com/blog/tigera-and-canonical-partner-on-multi-tenant-k8s)

Calico’s zero-trust networking and microsegmentation join Canonical’s CNCF-compliant Kubernetes and Ubuntu Pro, to deliver a securely designed and scalable platform to run...

[Canonical](https://canonical.com/blog/author/canonical)

9 November 2026
