# Site Configuration debugging

**URL:** <https://forums.plex.tv/t/site-configuration-debugging/21391>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [September 14, 2012, 12:52pm UTC](https://forums.plex.tv/t/site-configuration-debugging/21391 "2012-09-14T12:52:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hitolaus](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@hitolaus](https://forums.plex.tv/u/hitolaus)\
**Post date:** [September 14, 2012, 12:52pm UTC](https://forums.plex.tv/t/site-configuration-debugging/21391/1 "2012-09-14T12:52:59Z")

</div>

Hi guys,  
  
  
  
I have begun my first Plex channel plugin and unfortunately it requires me to write a site configuration since the content site uses Silverlight.  
  
  
  
Currently I’m unable to write a functioning site config, so my question is: What debugging/testing options do I have when writing a site configuration?   
  
It feels a bit like developing blind, I can see from the server log that Plex finds the Silverlight object, but that’s it. Do any of you have some nice tricks for debugging?

---

<div class="post-metadata">

**Author:** ![sander1](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sander1](https://forums.plex.tv/u/sander1)\
**Post date:** [September 14, 2012, 1:16pm UTC](https://forums.plex.tv/t/site-configuration-debugging/21391/2 "2012-09-14T13:16:15Z")

</div>

Hi Jakob,  
  
Welcome to the dev section! A great way to see what’s going on when Plex tries to play a Flash or Silverlight video is to make the Webkit window visible:  
  
  
  
OSX:  
  
[list][_]Quit Plex Media Server_  
  
_[_]From the Terminal, execute this command: defaults write com.plexapp.plexmediaserver WebKitWindowVisible TRUE  
  
[_]Start Plex Media Server_  
  
_[/list]_  
  
_Windows:_  
  
_[list]_  
  
_[_]Quit Plex Media Server  
  
[_]Open Regedit_  
  
_[_]Go to HKEY\_CURRENT\_USER\Software\Plex, Inc.\Plex Media Server  
  
[_]Add a new DWORD value:_  
  
_[list][_]Name: **WebKitWindowVisible**  
  
[_]Value: **1** _  
  
_[/list][_]Close Regedit  
  
Start Plex Media Server  
  
[/list]

---

<div class="post-metadata">

**Author:** ![hitolaus](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@hitolaus](https://forums.plex.tv/u/hitolaus)\
**Post date:** [September 14, 2012, 1:48pm UTC](https://forums.plex.tv/t/site-configuration-debugging/21391/3 "2012-09-14T13:48:05Z")

</div>

Awesome!, that was exactly what I was looking for … thank you 🙂

---

<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, 10:15pm UTC](https://forums.plex.tv/t/site-configuration-debugging/21391/4 "2019-12-20T22:15:23Z")

</div>

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