How to set up Visual Studio 2022 for plugin dev with KS8400

I have KS8400 installed on my system. I’d like to set up Visual Studio 2022 to automatically load the plugin I’m developing and launch KS8400 GUI and attach to the GUI for debug. How can I set up VS 2022 to do that?