Add build type (debug/release) in ":debug info" output
This commit is contained in:
parent
82d23bc400
commit
2050167d98
|
@ -1127,6 +1127,11 @@ const CommandDesc debug_cmd = {
|
||||||
{
|
{
|
||||||
write_to_debug_buffer(format("pid: {}", getpid()));
|
write_to_debug_buffer(format("pid: {}", getpid()));
|
||||||
write_to_debug_buffer(format("session: {}", Server::instance().session()));
|
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")
|
else if (parser[0] == "buffers")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user