rustyscreeps / cargo-screeps

Build tool for deploying Rust WASM code to Screeps game servers
MIT License
25 stars 13 forks source link

Remove stack trace limit in default initialization header #18

Closed daboross closed 5 years ago

daboross commented 5 years ago

Default node.js setting is to limit stack traces to 10 lines. I've found this can sometimes be useful, but some bugs just need more stack space.

This adds a setting to the default initialization header which disables that stack trace limit. I added it here because it's the sort of thing someone might want to configure, but is in general useful?

I found this solution of setting the limit to infinity at https://stackoverflow.com/a/10419288/1907543.