# Removing a plugin for debugging

**URL:** https://meta.discourse.org/t/removing-a-plugin-for-debugging/323463
**Category:** Development
**Created:** [August 26, 2024, 9:05pm UTC](https://meta.discourse.org/t/removing-a-plugin-for-debugging/323463 "2024-08-26T21:05:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [August 26, 2024, 9:05pm UTC](https://meta.discourse.org/t/removing-a-plugin-for-debugging/323463/1 "2024-08-26T21:05:21Z")

</div>

A while ago @pfaffman showed me how to remove plugins directly via the file structure (i.e. within the container for a non-dev site) - thus markedly speeding up the debugging process when you suspect you’ve got a naughty plugin but few clues.

I remember it being something like deleting the plugin folder somewhere, but can’t recall the details. As I’m now stuck in an annoying rebuild cycle, my thoughts have drifted back to that method.

Can anyone shed some light on it?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [August 26, 2024, 9:10pm UTC](https://meta.discourse.org/t/removing-a-plugin-for-debugging/323463/2 "2024-08-26T21:10:35Z")

</div>

```plaintext
docker exec -it app bash

```

or

```plaintext
./launcher enter app

```

then

```plaintext
cd /var/www/discourse/plugins
rm -rf plugin-directory
sv restart unicorn

```

For each `plugin-directory` you want to get rid of.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [September 25, 2024, 9:10pm UTC](https://meta.discourse.org/t/removing-a-plugin-for-debugging/323463/3 "2024-09-25T21:10:36Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
