./koch [opts..] boot -d:release [nimOpts…]

opts:

--skipintegritycheck :only iteration once

nimOpts:

-d:nimUseLinenoise :see nim repl (nim secret)

-d:stacktraceMsgs -d:nimCompilerStacktraceHints

https://nim-lang.org/docs/intern.html#debugging-the-compiler-building-an-instrumented-compiler

--debuginfo --linedir:on

./koch --skipIntegrityCheck boot -d:release -d:nimUseLinenoise --hints:off
./koch --skipIntegrityCheck boot -o:bin/nim_dbg --hints:off --debuginfo --linedir:on -d:stacktraceMsgs -d:nimCompilerStacktraceHints