You can export your module to a WebProject file.
This enables you to create a DLL and debug your module without the complete installation of DotNetNuke sources
See the Manual Document