How to debug plugin in local environment

Hello Community!

I have very basic question regarding plugin development in local environment.

I have installed my local development environment following this guide. It is now running on localhost. After that I created a sample plugin following the instructions here. I understand that I have to build it and insert dll to my local Community's bin folder, which works fine.

What I didn't read is how to actually debug my plugin while developing it inside Visual Studio, e.g. place breakpoints to Initialize method and run a debug in context of my local Community intallation.

Thank you for some advice.