A picture is worth a thousand words...
Of course the server should load the bot DLL
And of course, the bot DLL should be compiled in DEBUG mode.
Then instead of starting the HL server the normal way, click on the "start debug" (F5) button in the MSVC toolbar. This will launch the server for you. Don't forget to set a few breakpoints before