debug [options] <script_file_name> [<script_args>]
Display help.
Keep processing the script even if a previous command has returned an error. Without this option set, an error would cause script processing to abort (and the debug command to exit with the error code) unless either &&
, ||
or &|
was used to handle the error.
The name of the script file to be debugged. [filename]
Arguments to be send to the script. Any further arguments or options will be coalesced into this one. [string]
Run the specified fshell script under a simple debugger.
Before executing each line of the script, commands can be entered. Currently the following commands are supported:
s
Run the next line of the script.
x
Show the next line of the script with its variables expanded.
z
Skip over the next line of the script.
Unlike the source command, environment variables set by the script being debugged are not inherited by the parent fshell instance.
Note, this command is specifically for debugging fshell scripts. If you were looking for a general-purpose debugger, see fdb.
Copyright (c) 2006-2011 Accenture. All rights reserved.