- 
                Notifications
    
You must be signed in to change notification settings  - Fork 239
 
Open
Labels
Description
One of the most common project layouts is to have every function in it's own ps1 file.  When one of those projects gets at a certain size (very large, like dbatools) that can begin to affect the load time of the module.  As a workaround, some of these modules will "compile" the ps1 files into a single psm1.
I think it would be a good idea to come up with a source map system so if we break somewhere in the compiled psm1 we could show the original source file instead.
This could also be useful for other projects who test against the "fully built" version of their module in a Release folder.  I do this in a lot of my projects and often end up editing the temporary version of a file in Release because that's where the debugger put me.
TylerLeonhardt