A flexible tool to measure electrical signals in our gut could detect serious medical conditions.