Flowcharts provide a visual representation of program logic.
They make it easier to identify logical mistakes before coding and assist in the debugging process.
Hence,
\[
\boxed{\text{Debugging}}
\]
is the correct answer.
Therefore,
\[
\boxed{(B)}
\]