We can enable kernel debugging on a Windows XP machine by editing the boot entry in C:\boot.ini file. For this we need to add /debug switch along with com port number and baud rate. Same thing can be done from command line with the help of bootcfg, Windows in-built tool to configure system boot information.
To enable kernel debugging with com port 1 and baudrate – 115200 the command we need to run would be as follows.
ID specifies that these changes should be applied on the boot entry with the ID 1.