One way to find out what is going on in your brain is to monitor it in situ using a neural implant. Success neural implants have already been tested and commercial implants will be available soon. One interesting project to follow is Kernel, a neuroprosthesis company that wants to mimic brain communications to correct or improve brain functions. Having a chip in the brain will certainly make it easier to learn how the brain works. The startup Neuralink plans to treat brain diseases with neural implants as a step to future acceleration of human thought.
The University of Pittsburg recent used an implant to allow a paralyzed man to feel touch on a robotic hand. Two microelectrode arrays were implanted in the subject's somatosensory cortex, and two other arrays positioned in the motor cortex.The subject was able to feel pressure, but not movement or pain.