ちょうど出かけるところだった

was just about to go out

→ 丁度
phrase Rare #44,578
was just about to go out ちょうど means “just” or “exactly”; ところだった marks an action that was about to happen.
JA: 彼が来たとき、私はちょうど出かけるところだった。
EN: When he arrived, I was just about to go out.

私が帰宅したとき、父はちょうど出かけるところだった。

When I got home, my father was just about to leave.

雨が降り出したとき、私はちょうど出かけるところだった。

When it started to rain, I was just about to leave.

電話が鳴ったときちょうど出かけるところだった。

I was just about to leave when the phone rang.