I need to enable Core Dump File creation for processes which terminated by SIGABRT,SIGBUS, etс..
In previous versions of MAC OS X (include ElCapitan) to enable Code Dumps file for all processes i'm will do:
sudo sysctl -w kern.corefile=/Users/tester/core.%U.%P.%N.dump
sudo sysctl -w kern.coredump=1
sudo launchctl limit core unlimited
sudo ulimit -c unlimited
launchctl limit core unlimited
ulimit -c unlimited
Now thise way does not work. In this Site talk about new gcore command, but it work for running processes. For KernelCoreDumps now you must enable NVRAM variable official.