China 'debated' attacking Taiwan islands