You need install the bochs with debugger first.
# If you use Fedora/CentOS /RockyLinux/openEuler
sudo dnf install https://github.com/hehellooedas/ToyOS/releases/download/Kernel/bochs_debug-2.8-1.x86_64.rpm
# use Debian/Ubuntu/Deepin
sudo deb install https://github.com/hehellooedas/ToyOS/releases/download/Kernel/bochs_2.8-2_amd64.deb
Build your own Bochs?Click here
make check #To check you have debug environment or not
If you have passed the test,You can directly run the following script to start the kernel.
make bochs
Choose to use Intel or AMD CPU. (But AMD CPU cannot get the full experience)
After starting Bochs, use "continue" to run the kernel.