You can debug a bash script like this:
bash -x script [arg1 ...]`
What is the fish
equivalent?
Fish use a similar flag system:
fish -d 3 script.fish
Where d
is the debug flag followed by the verbosity level :
-d or --debug-level=DEBUG_LEVEL specify the verbosity level of fish. A higher number means higher verbosity. The default level is 1.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.