# HoloLens2 VisualStudio Remote Debugging

**URL:** <https://forums.unrealengine.com/t/hololens2-visualstudio-remote-debugging/631154>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** HoloLens-2, unreal-engine, UE4-27, question\
**Created:** [August 18, 2022, 3:09pm UTC](https://forums.unrealengine.com/t/hololens2-visualstudio-remote-debugging/631154 "2022-08-18T15:09:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebhah](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sebhah](https://forums.unrealengine.com/u/sebhah)\
**Post date:** [August 18, 2022, 3:09pm UTC](https://forums.unrealengine.com/t/hololens2-visualstudio-remote-debugging/631154/1 "2022-08-18T15:09:39Z")

</div>

I can’t seem to get HoloLens remote debugging to work with VisualStudio 2019 and Unreal Engine 4.27. I have tested it works with DirectX11 UWP app template (the program launches on the device and debugger works as expected), but with Unreal projects VisualStudio hangs at deploy.

In Binaries/HoloLens directory there are \*\_x64.appx files (but no \*\_arm64.appx files), so it looks like x64 binaries are built for instead of arm64 binaries. What specific setup I need to get this work?

---

<div class="post-metadata">

**Author:** ![PZ2024](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pz2024/32/897750_2.png) [@PZ2024](https://forums.unrealengine.com/u/PZ2024)\
**Post date:** [March 25, 2024, 1:45pm UTC](https://forums.unrealengine.com/t/hololens2-visualstudio-remote-debugging/631154/2 "2024-03-25T13:45:48Z")

</div>

I’m facing the same issue.  
My goal is to live debug my unreal hololens app.  
Aftre some try arounds I located the problem in the deploying process. I tried to deploy the app via Visual Studio 22 in Shipping configuration to Hololens (via Remote Machine setup).  
Side Note: The project was succesfully deployed via Unreal Editor in same configuration via Remote Connection.

Following Error Oucours when try running app (start without Debugging).  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/3/0e387dd272c047d5d722c503f4909c772573a1a1.png)

Acoording to the previous post I’ve inspected the binary folder and could only located x64 build files (even the target device was HoloLens).

I m using following settup:

- Host OS: Windows 11
- Unreal Engine: 5.0.3
- Visual Studio 22
- Hololens 2: 10.0.22621.1266

Any suggestions?  
Thx!
