bashsupport-pro
bashsupport-pro copied to clipboard
Debugger can't step into the function sourced from another file after changing current directory
If I have a function get_something() defined in the common.sh and I am debugging other script:
#!/bin/bash source ./common.sh cd /path/to/somewhere/else something=$(get_something) # debugger won't step into common.sh get_something() function
If I do not change directory - debugger will step into correctly