CommandLinePatcher[] (PyDebugRunner runner, PythonCommandLineState pyState, RunProfile profile, int serverLocalPort) { final CommandLinePatcher[] debugPatchers = runner.createCommandLinePatchers(myFixture.getProject(), pyState, profile, serverLocalPort); if (!usePytestRunner()) { return debugPatchers; } ArrayList<CommandLinePatcher> result = new ArrayList<>(); result.add(pytestPatcher()); result.addAll(Arrays.asList(debugPatchers)); return result.toArray(new CommandLinePatcher[0]); }