I just notices when I select a pl/sql block in sql window and right click and then choose copy window to test window then the debug is not active. I'm using version 11.0.6.1776
No it is not compiled for debugging because this post is about a PL/SQL anonymous block yet debugger always works no matter it is compiled for debugging or not if you run from test window(without changing window type).