dotfiles/fish/.config/fish/functions/gdbp.fish

3 lines
119 B
Fish

function gdbp --description 'Attach to a python process'
gdb python3 (ps -ef | fzf | awk '{print $2}' | head -1)
end