This is not an answer but a comment which is too long.
I just want to provide another (equivalent) notion of measurability not very common in standard courses on integration but which has the advantage that it can be generalized easily to setting of Integration on vector valued measures and to Stochastic Calculus. The idea goes back to Daniell, Littlewood, Stone, etc.
I will just give a brief outline. If you are interested in this things I will give some references at the end.
Several steps need to happen first: (1) Construction the integral first through Daniell's procedure; (2) making use of Littlewood's observations:
Suppose your ambient space is $\Omega$, and that the Daniell integral is constructed base on an elementary integral $(\mathcal{E},I)$. ($\mathcal{E}$ is vector lattice of bounded functions closed under the operation $\min(f,1)$; $I$ is a linear functional on $\mathcal{E}$ that has some continuity properties, for instance $f_n\searrow0$, and $f_n\in\mathcal{E}$ implies that $I(f_n)\rightarrow0$.)
Example:
$\mathcal{E}$ the continuous bounded functions in $[0,1]$ and $I$ the Riemman integral acting on $\mathcal{E}$.
(a) Construction of the Daniell mean involves a sup and inf type operations, first for functions $\mathcal{E}^\uparrow$ that are monotone limits of functions in $\mathcal{E}$, $I(h)=\sup\{I(f): f\in\mathcal{E},\,f\leq h\}$. Then, for any function $f$, $I(f)=\inf\{I(h):h\in\mathcal{E}^\uparrow,\, f\leq h\}$. For any function $f$ define
$$
\|f\|^*=I(|f|)
$$
It turns out that $\|\;\|$ defines a nice pseudonorm when restricted to the space $\mathcal{F}$ of functions such that $\|f\|^*<\infty$. Now, the space of integrable function $\mathcal{L}_1(I)$ is defined as the closure of $\mathcal{E}$ in $(\mathcal{F},\|\;\|^*)$. A set $A$ is integrable if $\mathbb{1}_A\in\mathcal{L}_1$. There is a natural procedure then to define $I(f)$ for any $f\in \mathcal{L}_1$ via Cauchy sequences in $\mathcal{E}$.
(b) Littlewood's observations can be summarize as follows: (I) $f$ is integrable if for any $\varepsilon>0$ there is a set $U\in\mathcal{E}^\uparrow$ such that $\|U\|<\varepsilon$, and on $\Omega\setminus U$, $f$ is the uniform limit of a sequence in $\mathcal{E}$; (II) for any $\varepsilon>0$, if $f_n$ is a sequence of integrable functions that converge a.s (a set $B$ is a.s. empty if $\|B\|^*=0$) to $f$ in an integrable $A$, then there is another integrable set $A_0$ contained in $A$ such that $\|A\setminus A_0\|^*<\varepsilon$ and on $A_0$, $f_n$ converges uniformly to $f$.
Definition: A function $f ∈ \mathbb{R}^\Omega$ is measurable on an integrable set $A$ if for any $\varepsilon>0$, there is another integrable set $A_0$ contained in $A$ and a function $g$ in the uniform closure of $\mathcal{E}$ (the closure of $\mathcal{E}$ as a subspace of the space of bounded functions with the sup norm) such that $\|A\setminus A_0\|^*<\varepsilon$ and $f=g$ on $A_0$.
A function $f$ is $\|\;\|^*$-measurable if it is measurable on any integrable set.
A set $B\subset\Omega$ is measurable whenever $\mathbb{1}_B$ is measurbale.
It can be shown that Daniell measurability is equivalent to the Lebesgue-Caratheodory notion that is very common to discuss in integration courses.
A good place to look at the Daniel integral is Bichteler's Integration theory, a functional approach. Another good reference, although it is more dense is Dunford & Schwatrz Linear Operators Volume I. The latter construct integration for vector--valued measures using an approach reminiscent to Daniell's/