LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-28-2018, 10:19 AM   #1
knobby67
Member
 
Registered: Mar 2006
Posts: 622

Rep: Reputation: 42
running debugger in VSC as sudo


Hi All,
I need to run the debugger in visual studio code as sudo, it connects to a usb sensor. Does anyone know how I can say start the debugger with sudo?
I have tried setting udev rules on the usb but try as I might can't get this to work.
Thanks
 
Old 03-28-2018, 01:05 PM   #2
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 3,437

Rep: Reputation: 1054Reputation: 1054Reputation: 1054Reputation: 1054Reputation: 1054Reputation: 1054Reputation: 1054Reputation: 1054
You might want to start the whole Visual Studio as root user. (Don't forget 'xhost +localhost' beforehand.)
 
Old 03-28-2018, 03:24 PM   #3
knobby67
Member
 
Registered: Mar 2006
Posts: 622

Original Poster
Rep: Reputation: 42
Thanks I got undev to work after multiple tutorials. I think it must have change quite a bit over the years so it quite hard working out which version works with your build
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Getting started with Visual Studio Code (VSC) on Linux LXer Syndicated Linux News 0 10-01-2015 07:01 PM
Issues running sudo with winbind theace18 Linux - Server 2 11-28-2013 12:19 AM
Running sudo from a panel icon fogpipe Linux - Desktop 2 05-12-2012 10:06 PM
Running sudo with pam.d vwvr9 Linux - Security 2 05-05-2008 10:19 PM
Running pppd with sudo alish Linux - Security 0 10-07-2007 11:19 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration