void (@NotNull PythonExecution debuggerScript, @NotNull Function<TargetEnvironment, Integer> serverPortOnTarget) { // --port debuggerScript.addParameter(PORT_PARAM); debuggerScript.addParameter(serverPortOnTarget.andThen(Object::toString)); // --file debuggerScript.addParameter(FILE_PARAM); }