![]() Development npm scripts now also listen for debuggers: - Port 9229 for the bot - Port 9239 for the api Via Knub 28, PluginErrors are no longer used in development, which helps with call stacks in debuggers (see Knub changelog). Unhandled promise rejections are now treated as exceptions via nodejs flag --unhandled-rejections=strict, which allows catching them with a debugger. The internal "error-tolerant" error handler is now only used in production; in development, all unhandled errors cause the bot to crash and are easily catchable by debuggers. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
api.env.example | ||
bot.env.example | ||
ormconfig.js | ||
package-lock.json | ||
package.json | ||
register-tsconfig-paths.js | ||
start-dev.js | ||
tsconfig.json |