This is an attempt at reviving #488, #603, #646 and #872: Running and debugging as the root user.
From what I gathered there is a lot of busywork here already, so I volunteer to implement it myself. Mostly asking permission and hoping to show that it is actually necessary.
It seems like an important feature (see this, but to me personally too) and setting up an LLDB server every time is doable, but still an extra step.
I have a strong preference for this extension and would hate to see people go because of such a small inconvenience.
The current implementation idea is searching for local lifter like sudo/doas/rootdo and go using it. Will look for alternatives if that approach doesn't prove viable.
In the userspace an option like "sudo": true to maintain parity with Python's debugging seems sensible.
This is an attempt at reviving #488, #603, #646 and #872: Running and debugging as the root user.
From what I gathered there is a lot of busywork here already, so I volunteer to implement it myself. Mostly asking permission and hoping to show that it is actually necessary.
It seems like an important feature (see this, but to me personally too) and setting up an LLDB server every time is doable, but still an extra step.
I have a strong preference for this extension and would hate to see people go because of such a small inconvenience.
The current implementation idea is searching for local lifter like
sudo/doas/rootdoand go using it. Will look for alternatives if that approach doesn't prove viable.In the userspace an option like
"sudo": trueto maintain parity with Python's debugging seems sensible.