How to debug your Plugin’s code
When using the SDK for MS Windows you can debug your plugins without exporting them.
To do so, from within the SDK:
- go to the option Window> Preferences and select ‘Plugin Development’. Select ‘Target platform’ and then ‘Add’ button. Then click ‘Next’ and then the ‘Add’ button again.
- Select ‘Directory’ and then ‘Next’. Browse to select the folder where you installed Justinmind (typically c:\Program Files\Justinmind\Justinmind Prototyper x.x.x) and then click ‘Finish’.
- Click ‘Finish’ again and select ‘New target’ as the new Target Platform:
Finally click ‘OK’. Now you have your SDK configured and ready. If you want to run or debug your plugin, simply right click on the project and select ‘Run as Eclipse Application’. Then Justinmind will run with your plugin.