Add build type (debug/release) in ":debug info" output

This commit is contained in:
Maxime Coste 2017-08-22 15:12:17 +07:00
parent 82d23bc400
commit 2050167d98

View File

@ -1127,6 +1127,11 @@ const CommandDesc debug_cmd = {
{
write_to_debug_buffer(format("pid: {}", getpid()));
write_to_debug_buffer(format("session: {}", Server::instance().session()));
#ifdef KAK_DEBUG
write_to_debug_buffer("build: debug");
#else
write_to_debug_buffer("build: release");
#endif
}
else if (parser[0] == "buffers")
{