Code not working as intended

If I do it like this

void setup()
{
  Serial.begin(9600);
  pinMode(pin1, INPUT_PULLUP);
  pinMode(pin2, INPUT_PULLUP);
  debouncer.attach(pin1);
  debouncer.attach(pin2);
  debouncer.interval(5);
}

void loop()
{
debouncer.update();
  
value = debouncer.read();
  
  if (value == debouncer.fell())
    {
    Serial.write ('w');
    }
  if (value == debouncer.rose())
    {
    Serial.write ('w');
    }
  if (value == debouncer.fell())
    {
    Serial.write ('a');
    }
  if (value == debouncer.rose())
    {
    Serial.write ('a');
    }
}

it responds with nothing :frowning:

and I want it to write once at the start and once at the end. Sorry that I was'nt clear..