Cannot debug on this device, because run-as is not working correctly

I’m trying to use AndroidWorks.
It builds and install and apk runs fine if started from in the device but I can’t start debugging from Visual Studio.

On Windows 8.1, device samsung SM-E700M Android 4.4.4 I get this error from the “Launching on Device” window:
“Cannot debug on this device, because run-as is not working correctly. See documentation for the details.”

Hi, debugging on devices with non-working run-as command (i.e. some of the Samsung devices) is supported only in the latest version of Nsight Tegra, could you please try upgrading?