The runargs command changes the arguments of the target process. It has identical syntax and identical functionality in native mode and Java mode.
Use the debug command with no arguments to inspect the current arguments of the target process.
Set the current arguments, to be used by the run command (see run Command).
Set the output redirection to be used by the run command.
Set the input redirection to be used by the run command.
Clear the current arguments.
where:
arguments are the arguments to be used in running the target process.
file is the file to which output from the target process or input to the target process is to be redirected.