Box collide but OnCollisionEnter doesn't work

Hello,
i never used rigid body before (always code everything from the beginning)
today i decided to play a little bit with that component and a strange thing is happening,
the box that have the rigid body collide with other objects (stop moving)
but the code inside OnCollisionEnter doesn’t get called, why ?
thank you

damn it, the console debug button was disabled -_-