src/vs/workbench/contrib/debug/browser/repl.ts/Repl/isReadonly
class Repl:	get isReadonly(): boolean {
		// Do not allow to edit inactive sessions
		const session = this.tree.getInput();
		if (session && session.state !== State.Inactive) {
			return false;
		}

		return true;
	}