Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MacOS] Debug program as root user #3155

Open
hjmallon opened this issue Feb 12, 2019 · 2 comments
Open

[MacOS] Debug program as root user #3155

hjmallon opened this issue Feb 12, 2019 · 2 comments

Comments

@hjmallon
Copy link

Type: Debugger

I have recently been using VSCode to debug a root daemon on macOS. This is due to a current bug in XCode that means I cannot use it. I am starting VSCode with sudo and everything works fine. However I think it would be useful if there was a switch to enable an OS password prompt on debug start to run a program as root (something like gksu on Linux and UAC on Windows as well as macOS?) without running the rest of VSCode as root.

@pieandcakes
Copy link
Contributor

@hjmallon I will mark it as a feature request. We have a similar situation on Linux where we will elevate with psexec but I don't know the corresponding side on MacOS.

@pieandcakes pieandcakes changed the title Debug program as root user [MacOS] Debug program as root user Feb 13, 2019
@H-G-Hristov
Copy link

We also need the functionality available in Xcode to debug a daemon and run UnitTests as a root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants