Skip to content

[MacOS] Debug program as root user #3155

@hjmallon

Description

@hjmallon

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions