Skip to content

Commit

Permalink
Enable minidump generation (#741)
Browse files Browse the repository at this point in the history
* Add environment variables for minidump generation.

* Update NWNX version.
  • Loading branch information
jhett12321 authored Dec 4, 2023
1 parent 7ff6d1d commit 429d7a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
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

0 comments on commit 429d7a9

Please sign in to comment.