Below option is to create Runnable Class, which is job in AX 2012 R3.
This will create class with static method as below.
As this class have only static method, this will execute without creating object of class, which is same as job.
To debug this job, set current project as start up project as well as current job class as start up object.
From Debug menu, select option Start Debugging.
This will hit break point.