void () { runPythonTest(new PyDebuggerTask("/debug", "test1.py") { @Override public void before() { toggleBreakpoint(getFilePath(getScriptName()), 3); XDebuggerTestUtil.setBreakpointLogExpression(getProject(), 3, "'i = %d'%i"); setWaitForTermination(false); } @Override public void testing() throws Exception { waitForPause(); resume(); waitForOutput("i = 1"); } }); }