Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable minidump generation #741

Merged
merged 2 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
NWNX_VERSION=459d30c
NWNX_VERSION=51162c5
8 changes: 8 additions & 0 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ ENV NWNX_SERVERLOGREDIRECTOR_LOG_LEVEL=6
# Disable all other plugins by default.
ENV NWNX_CORE_SKIP_ALL=y

# Enable minidump generation
ENV DOTNET_DbgEnableMiniDump=1
ENV DOTNET_DbgMiniDumpType=3
ENV DOTNET_CreateDumpDiagnostics=1
ENV DOTNET_CreateDumpVerboseDiagnostics=1
ENV DOTNET_DbgMiniDumpName=/nwn/run/logs.0/anvil-crash-%t.dmp
ENV DOTNET_CreateDumpLogToFile=/nwn/run/logs.0/anvil-crash.log

# Entrypoint & Executable
EXPOSE ${NWN_PORT:-5121}/udp

Expand Down
Loading