# How to build & debug correct way of custom loadable-modules

**URL:** https://discourse.slicer.org/t/how-to-build-debug-correct-way-of-custom-loadable-modules/37713
**Category:** Development
**Tags:** loadable-module, extensions
**Created:** [August 5, 2024, 8:34pm UTC](https://discourse.slicer.org/t/how-to-build-debug-correct-way-of-custom-loadable-modules/37713 "2024-08-05T20:34:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jhan1245](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jhan1245/32/69457_2.png) [@jhan1245](https://discourse.slicer.org/u/jhan1245)
#### Post date: [August 5, 2024, 8:34pm UTC](https://discourse.slicer.org/t/how-to-build-debug-correct-way-of-custom-loadable-modules/37713/1 "2024-08-05T20:34:15Z")

</div>

Hello, I’m starting development with Slicer for the first time and I’m having trouble finding solid answers or documentation about custom Loadable Modules.

I’d like to know how to build and debug a Loadable Module with the directory structure I’m using.

C:\P\Slicer\ … (slicer source from git)  
C:\P\SD\ … (build of slicer source)  
C:\P\MY\MyModule1\ … (skeleton loadable module from extension manager)  
C:\P\MY\MyModule2\ … (skeleton loadable module from extension manager)  
C:\P\MY\MyModule3\ … (skeleton loadable module from extension manager)

I’d like to understand how to build and debug these my modules on a Slicer build. And how to add loadable modules to a stable version of Slicer.

Additionally, Is there a automation solution of these things?

Thank you!
