Make debugging easier by not forking when in debug mode
Convert boolean values to SQL literal TRUE or FALSE