mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-08 08:01:15 -03:00
Launch debug shell on TRAP signal.
darcs-hash:20070423211026-ac50b-fccf4fb588775fbacc5cdc9f121abe417970066f.gz
This commit is contained in:
@@ -86,6 +86,10 @@ for i in (printf "%s\n" $path_list|sgrep -E -v $path_regexp)
|
||||
end
|
||||
end
|
||||
|
||||
# Launch debugger on SIGTRAP
|
||||
function fish_sigtrap_handler --on-signal TRAP --no-scope-shadowing --description "Signal handler for the TRAP signal. Lanches a debug prompt."
|
||||
breakpoint
|
||||
end
|
||||
|
||||
if status --is-interactive
|
||||
. config_interactive.fish
|
||||
|
||||
Reference in New Issue
Block a user