Can you send me your module? You can use
this method to pack it into a single archive file.
As for debugging - you can use this code to log data to a custom log file:
Code:
\XLite\Logger::logCustom('your-log-name', var_export(array('param1'=>$param1, 'param2'=>$param2, ...), true));
Log the result of the getTarget() method in the first line of the handleRequest() method in the var/run/classes/XLite/Controller/AControllerAbstract.php file - this should give you the idea what "targets" are being triggered.
Also, you can add "protected function doNoAction()" method in your controller class (classes/XLite/Module/MyDevID/TestMod/Controller/TestModController.php) and add logging there.
Just remember that "var/run/classes/" contains the actual PHP files that are run when you browse the site, and "classes/" is the directory that stores "original" versions of these files (every time you redeploy the store X-Cart 5 takes these files, "compiles" them and put inside the var/run/classes/ directory).