diff --git a/backend/build.sh b/backend/build.sh index 038f05f..069365e 100755 --- a/backend/build.sh +++ b/backend/build.sh @@ -6,4 +6,4 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "$DIR" -../cmd pnpm ncc build ./app.ts -o dist +../cmd pnpm ncc build ./app.ts -o dist --source-map diff --git a/backend/run.sh b/backend/run.sh index 228defc..907db9e 100755 --- a/backend/run.sh +++ b/backend/run.sh @@ -6,4 +6,4 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "$DIR" -exec ../cmd node dist/index.js "$@" +exec ../cmd node --enable-source-maps dist/index.js "$@"