From 2050167d98d96d0a524bcb56f3c427e1e39a8236 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 22 Aug 2017 15:12:17 +0700 Subject: [PATCH] Add build type (debug/release) in ":debug info" output --- src/commands.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/commands.cc b/src/commands.cc index 9ea8b387..fcce5e0f 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -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") {