In the debug launch code, there is a conditional check to see if command_or_script exists in the worktree using worktree.which(command_or_script):
if worktree.which(command_or_script).is_some() {
arguments.push("--command".to_string());
}
It's unclear why this check is here.
In the debug launch code, there is a conditional check to see if
command_or_scriptexists in the worktree usingworktree.which(command_or_script):It's unclear why this check is here.