# Help for debugging a metadata agent

**URL:** <https://forums.plex.tv/t/help-for-debugging-a-metadata-agent/13109>\
**Category:** Dev/API Corner\
**Tags:** scanner-agent-dev\
**Created:** [December 9, 2011, 1:36pm UTC](https://forums.plex.tv/t/help-for-debugging-a-metadata-agent/13109 "2011-12-09T13:36:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevec](https://avatars.discourse-cdn.com/v4/letter/s/ecb155/32.png) [@stevec](https://forums.plex.tv/u/stevec)\
**Post date:** [December 9, 2011, 1:36pm UTC](https://forums.plex.tv/t/help-for-debugging-a-metadata-agent/13109/1 "2011-12-09T13:36:51Z")

</div>

Hello - wondering if anyone can point me towards some documentation on how to debug a metadata agent ?  
  
  
  
I think what I’ve written fails even to compile, but all I see in the server logs is “Error reading from plugin”, then the server seems to revert to using com.plexapp.agents.none instead of the one I’ve written. What’s the best way to run it standalone so I can see the actual error ?  
  
  
  
Thanks,  
  
Steve

---

<div class="post-metadata">

**Author:** ![jam](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jam/32/186050_2.png) [@jam](https://forums.plex.tv/u/jam)\
**Post date:** [December 9, 2011, 4:30pm UTC](https://forums.plex.tv/t/help-for-debugging-a-metadata-agent/13109/2 "2011-12-09T16:30:46Z")

</div>

Have you checked the agent’s log file to see if it’s reporting any errors? It should be in “~/Library/Logs/PMS Plugin Logs”.

---

<div class="post-metadata">

**Author:** ![stevec](https://avatars.discourse-cdn.com/v4/letter/s/ecb155/32.png) [@stevec](https://forums.plex.tv/u/stevec)\
**Post date:** [December 9, 2011, 6:00pm UTC](https://forums.plex.tv/t/help-for-debugging-a-metadata-agent/13109/3 "2011-12-09T18:00:08Z")

</div>

Perfect - exactly what I was looking for.  
  
  
  
Thanks!

---

<div class="post-metadata">

**Author:** ![jam](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jam/32/186050_2.png) [@jam](https://forums.plex.tv/u/jam)\
**Post date:** [December 9, 2011, 8:07pm UTC](https://forums.plex.tv/t/help-for-debugging-a-metadata-agent/13109/4 "2011-12-09T20:07:28Z")

</div>

No problem! Happy to help. Feel free to post again if you have any more questions 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 9:30pm UTC](https://forums.plex.tv/t/help-for-debugging-a-metadata-agent/13109/5 "2019-12-20T21:30:21Z")

</div>

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