# Golang debug not working

**URL:** <https://discourse.sst.dev/t/golang-debug-not-working/2565>\
**Category:** General\
**Created:** [January 23, 2022, 1:41pm UTC](https://discourse.sst.dev/t/golang-debug-not-working/2565 "2022-01-23T13:41:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![emil-petras](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/emil-petras/32/1272_2.png) [@emil-petras](https://discourse.sst.dev/u/emil-petras)\
**Post date:** [January 23, 2022, 1:41pm UTC](https://discourse.sst.dev/t/golang-debug-not-working/2565/1 "2022-01-23T13:41:15Z")

</div>

I followed a guide and created an app using a template. When I deploy it to AWS, it works.

When I try to run debug. It runs and listens to request. But it returns 500 internal server error.

Can you help me ?
