Best friend behind bars after rocker's son killed

The accused killer of Aussie rocker Angry Anderson's son says he was under the control of "something evil" when he allegedly stomped his best friend to death in Sydney.

Mathew Flame (20) did not apply for bail and it was formally refused when he faced Manly Local Court on Monday, a day after Liam Anderson (26) was killed in Queenscliff.

Early on Sunday, Flame, under the influence of MDMA, marijuana and alcohol, is alleged to have punched and stomped Mr Anderson to death.

Court documents state the pair met up the previous evening with a group of friends at the Brookvale Hotel for drinks before attending an Awful Things hip hop concert at Surry Hills.

Flame and Mr Anderson, an aspiring rapper, allegedly took MDMA and kept drinking until the early hours of Sunday.

About 3am the group travelled back to the northern beaches, where Flame allegedly took more MDMA and smoked marijuana, the papers state, but the final dose of the party drug gave him heart palpitations.

At the intersection of Pavilion Street and Bridge Road in Queenscliff, just before 6am, a fight broke out between the long-time mates, where Flame allegedly struck Mr Anderson in the body and head multiple times with his fists and bare feet.

Flame was arrested and handcuffed as police arrived on the scene, and later pepper sprayed when he stood up to watch officers attempt to save the life of his best friend who died at the scene.

Police say Flame, who has been charged with murder, made full admissions to the attack and participated in forensic procedures.

The court has ordered a mental health assessment on Flame.

He is due to reappear at the same court on January 29.