Add warn in debug.
Do it in the javascript way.
Fixs.