If you have ever tried to debug a windows phone application that uses the Media Library, you have come across the following screen.

This is because the phone will not let you browse to your Media Content while you are connected to Zune……
On the other hand, Visual Studio will not let you debug if you are not connected to Zune….
So what are you supposed to do???
WPConnect.exe will solve your problem. It is a tool that you can download that will allow you to debug while Zune is NOT running.
To get the tool, go to http://create.msdn.com and click on the Download The Tools link.

IMPORTANT NOTE : This assumes you have already installed the Windows Phone Developer tools. If you have not, download and install them first.
From here, you can download the October 2010 update to the Windows Phone Developer Tools
This includes (among other things) the WPConnect tool. Once this is installed, open up a cmd prompt and navigate to
%ProgramFiles%\Microsoft SDKs\Windows Phone\v7.0\Tools\WPConnect (for 32 bit os)
or
%ProgramFiles (x86)%\Microsoft SDKs\Windows Phone\v7.0\Tools\WPConnect (for 64 bit os)

Leave the window open, don’t run the WPConnect.exe yet.
Connect your phone to your computer and make sure that Zune launches and sees your phone.
Once Zune is launched and connected, CLOSE the Zune software
Go to the command prompt and type WPConnect.exe and hit enter
It will read:
Connecting to Device ‘Your device name here’
Connection Established
It will now allow you to navigate to your Media so that you can test applications that work with the Media Library.

I hope that helps.
Happy Coding – Daniel Egan – DotNetDoc