How to setup contributing k8s in local

Hi everybody
I want to run the whole source of k8s locally to learn deeply about k8s
view source, run directly from source, deep learning and contributing k8s, roughly setting up local environment like vs dev k8s team.
Anyone share how to simply run and debug, set log, develop with golang.

Thank you :heart::heart::heart: