Skip to content

Commit

Permalink
Debug Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc authored Jan 22, 2024
1 parent 0b9b1a3 commit aa6aebe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
#![feature(const_option, trait_alias, try_blocks)]

mod backend;
Expand Down Expand Up @@ -44,7 +43,7 @@ const LOG_FILE_LIMIT_SIZE: usize = 1024 * 1024 * 10;
const LOG_READ_BUFFER: usize = 1024 * 1024;
/// If `true`, this means supervisor will not be able to capture logs from child application and logger needs to be in
/// the child process itself, while supervisor will not attempt to read stdout/stderr at all
const WINDOWS_SUBSYSTEM_WINDOWS: bool = cfg!(all(windows, not(debug_assertions)));
const WINDOWS_SUBSYSTEM_WINDOWS: bool = false;

#[derive(Debug, Copy, Clone)]
enum AppStatusCode {
Expand Down

0 comments on commit aa6aebe

Please sign in to comment.