Unity will generates a VS project once you've done the development, then you can open the project in Visual Studio and debugging from there. Or, you can just build & run the project insides the Unity. However, you must have Visual Studio and WP8 SDK installed on your system at first.