Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99131

How to attach to a running Android app(built with Unity) for debugging in VSCode

$
0
0

This should be a common requirement but I am a bit shocked that no one has answered it before. My goal is to debug in VSCode for an running Android app, which is built with Unity.

  • If I use 'Unity debugger' in VSCode, it doesn't reach breakpoints.
  • If I use 'Android debugger' in VSCode, it asks me to specify source code directly but this app is built with Unity and there is no Android project directory.

So which one should be done to achieve it? In VS studio, I can "Attach to Unity debugger" and choose the Android player listed (if via USB). But it's not that easy in VSCode.

Thanks in advance.


Viewing all articles
Browse latest Browse all 99131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>