for plugins to start work with we can use sample code from XRM Sdk, bleow is the link to download XRM Sdk
https://www.microsoft.com/en-us/download/details.aspx?id=50032
for debugging with visual studio code, click on install Profiler
for more details : Refer to below tutorial link