1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/tools/gdb-sudo.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
309 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
#
# Run GDB as sudo for VS Code debugger
# See: .vscode directory
#
# Author: Steffen Vogel <post@steffenvogel.de>
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
sudo pkexec /usr/bin/gdb "$@"