For testing your app on Windows Phone 8 device you need Windows 8 + Windows Phone 8 SDK, or Visual Studio 2013 with this SDK built in.
Or you can upload your app as 'beta app' to Windows Phone Store and test it there, but that's not ideal for debugging, only for the final app testing.