void (@NotNull PythonScriptExecution pythonScriptExecution) { Function<TargetEnvironment, String> scriptPath = pythonScriptExecution.getPythonScriptPath(); if (scriptPath != null) { debuggerScript.addParameter(scriptPath); } else { throw new IllegalArgumentException("Python script path must be set"); } }