Turns out you cannot use the Run As/Debug As -> Adobe InDesign Extension
of eclipse to start the extension for debugging, because the essential .debug
-file will not be exported.
So everytime you want to debug something first Run As -> Adobe InDesign Extension
and then copy the .debug
-file into:
"$User$\AppData\Roaming\Adobe\CEPServiceManager4\extensions\$extesion folder$" (Windows)
After that restart InDesign MANUALLY (not from eclipse that is) and connect via "localhost:$port specified in .debug$"
(works only) with chrome to your extension.
This is not very ellegant but it works, at least for me.