---
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

[### Bringing private, local inference to your desk with Lenovo, CIX Tech, and Canonical](https://canonical.com/blog/bringing-private-local-inference-to-your-desk-with-lenovo-cix-tech-and-canonical)

As people increasingly use AI to summarize personal documents, draft emails, and generate code, one of the key problems that has emerged is data privacy. Relying on cloud-based...

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

27 November 2026

[### Canonical joins the Open Compute Project (OCP) to advance open infrastructure](https://canonical.com/blog/canonical-joins-the-open-compute-project-ocp-to-advance-open-infrastructure)

Canonical has joined OCP, a global community dedicated to developing open, efficient, and interoperable data center infrastructure. OCP unites cloud operators, hardware...

[Benjamin Ryzman](https://canonical.com/blog/author/benjaminryzman)

27 November 2026

[### Ubuntu 26.04 LTS is now available on Amazon WorkSpaces](https://canonical.com/blog/ubuntu-26-04-lts-is-now-available-on-amazon-workspaces)

Ubuntu 26.04 LTS Resolute Raccoon is now available on Amazon WorkSpaces Personal. It is the first Ubuntu WorkSpaces release built on a Wayland-native desktop. It brings Linux...

[Carlos Bravo](https://canonical.com/blog/author/carlos-bravo)

24 November 2026

[### The full Canonical Academy SysAdmin track is now live](https://canonical.com/blog/canonical-academy-sysadmin-track-live)

Earn the SysAdmin qualification from the publishers of Ubuntu

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

24 November 2026
