SOLVED: conversion from '__FlashStringHelper*' to non-scalar type 'String'

F() only works for functions that take a PROGMEM pointer of type __FlashStringHelper. Serial.print() is such a function. Apparently debugWrite() isn't.