Merge commit 'bd416f82e25f1b710ab2b7890274571dd3fcd53d'
This commit is contained in:
@@ -98,6 +98,9 @@ def debug(paths: List[str]) -> int:
|
||||
args = ['gdb', '--args']
|
||||
elif shutil.which('lldb') is not None:
|
||||
args = ['lldb', '--']
|
||||
else:
|
||||
sys.stderr.write('debug: could not find a supported debugger\n')
|
||||
return 1
|
||||
args.extend(paths)
|
||||
return subprocess.run(args).returncode
|
||||
|
||||
|
||||
Reference in New Issue
Block a user