# Debugging/Testing Custom Materializations

**URL:** <https://discourse.getdbt.com/t/debugging-testing-custom-materializations/9829>\
**Category:** Help\
**Created:** [September 4, 2023, 2:07pm UTC](https://discourse.getdbt.com/t/debugging-testing-custom-materializations/9829 "2023-09-04T14:07:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joe\_spear](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/joe_spear/32/2945_2.png) [@joe\_spear](https://discourse.getdbt.com/u/joe_spear)\
**Post date:** [September 4, 2023, 2:07pm UTC](https://discourse.getdbt.com/t/debugging-testing-custom-materializations/9829/1 "2023-09-04T14:07:55Z")

</div>

## The problem I’m having

I’m trying to develop a custom materialization and I’m trying to find a way to compile the materialization code without running it.

## The context of why I’m trying to do this

My materialization is going to have a fair amount of logic to creating the statements and I’d like to be able to view see what dbt is generating without it actually executing.

---

<div class="post-metadata">

**Author:** ![gwerbin-tive](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/gwerbin-tive/32/2977_2.png) [@gwerbin-tive](https://discourse.getdbt.com/u/gwerbin-tive)\
**Post date:** [October 9, 2023, 7:45pm UTC](https://discourse.getdbt.com/t/debugging-testing-custom-materializations/9829/2 "2023-10-09T19:45:22Z")

</div>

I’m looking for an answer to this as well. I didn’t see anything about it in the documentation, or in `dbt compile --help`.
