Set a BreakPoint in code?

Hi there,

I want to set a breakpoint on some PHP code but the codefile does not have a PHP extension - it has a .module extension. The framework loads the code as a module. I want to debug the code in the module bit Storm will not let me set a breakpoint in the IDE.

Is there something I can set in the code to trigger the breakpoint?

Also, in the module, Storm doesn't give me any IDE support despite the <?php opening tag (essentially, the module contains a PHP class).  Is there a way to tell Storm to treat the .module file as a .php file?


Comment actions Permalink

Hi Gary,

Settings | File Types | PHP file -- add your pattern for .module files here

Comment actions Permalink

Beautiful - thanks Andriy! :)


Please sign in to leave a comment.