*
* @param interpreter
* @param additionalInitialComands
*/
public void createDebugConsole(PyStackFrame frame, String additionalInitialComands) throws Exception {
PydevConsoleLaunchInfo launchAndProcess = new PydevConsoleLaunchInfo(null, null, 0, null, frame);
PydevConsoleInterpreter interpreter = createPydevDebugInterpreter(launchAndProcess);
ScriptConsoleManager manager = ScriptConsoleManager.getInstance();
PydevDebugConsole console = new PydevDebugConsole(interpreter, additionalInitialComands);
manager.add(console, true);