# Editing and debugging a SwiftPM plugin?

**URL:** <https://forums.swift.org/t/editing-and-debugging-a-swiftpm-plugin/71935>\
**Category:** Using Swift\
**Created:** [May 19, 2024, 12:06am UTC](https://forums.swift.org/t/editing-and-debugging-a-swiftpm-plugin/71935 "2024-05-19T00:06:27Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![JetForMe](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jetforme/32/482_2.png) [@JetForMe](https://forums.swift.org/u/JetForMe)\
**Post date:** [May 23, 2024, 1:49am UTC](https://forums.swift.org/t/editing-and-debugging-a-swiftpm-plugin/71935/5 "2024-05-23T01:49:04Z")

</div>

> [@NeoNacho](#):
>
> One thing to note is that attaching the debugger is relatively slow, so sometimes this requires adding a 1s sleep to the plugin because otherwise it might finish executing faster than the attach happens.

Yeah that's the challenge, right?

---

_[View the full topic](https://forums.swift.org/t/editing-and-debugging-a-swiftpm-plugin/71935)._
