# Recommended plugin debugging technique

**URL:** <https://discuss.gradle.org/t/recommended-plugin-debugging-technique/6880>\
**Category:** Old Forum Archive\
**Created:** [October 18, 2013, 12:17pm UTC](https://discuss.gradle.org/t/recommended-plugin-debugging-technique/6880 "2013-10-18T12:17:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Peter\_Niederwieser](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@Peter\_Niederwieser](https://discuss.gradle.org/u/Peter_Niederwieser)\
**Post date:** [October 18, 2013, 7:39pm UTC](https://discuss.gradle.org/t/recommended-plugin-debugging-technique/6880/2 "2013-10-18T19:39:00Z")

</div>

To debug a plugin, run the build with ‘–no-daemon -Dorg.gradle.debug=true’ and connect an external debugger that has access to the plugin sources on port 5005.

---

_[View the full topic](https://discuss.gradle.org/t/recommended-plugin-debugging-technique/6880)._
