Object (@NotNull @NonNls String dataId) { if (CommonDataKeys.VIRTUAL_FILE.is(dataId)) { XDebugSessionImpl session = mySession.get(); if (session != null) { XSourcePosition position = session.getCurrentPosition(); if (position != null) { return position.getFile(); } } } return null; }