I'm struggling with connecting the Plugin-Test harness to my Java IDE (Eclipse) as a remote server. The TEST_AND_DEBUG.txt instructions provide the following guidance:
4. Debugging with the plugin test harness
In any Java debugger or IDE, first set breakpoints in your plugin Java class.
Start the plugin test harness in debug mode:
./plugin-test -j <path-to-your-plugin-bundle-name>.jar -c <path-to-generated-config-file> -d
Start the plugin test harness in debug mode for a specific plugin:
./plugin-test -j <path-to-your-plugin-bundle-name>.jar -c <path-to-generated-config-file> -p <plugin name> -d
Connect your Java IDE to the plugin-test harness as a "Remote Server"
at the specified port.
Note: The default plugin-test debug port is 5903, which may be customized
by specifying a DEBUG_PORT value in the plugin-test script.
Plugin testing will begin automatically after the IDE connects. Any plugin
breakpoints will be hit during the testing process, allowing for developers
to step through plugin logic and analyze behavior.
But this of course does not speak to specifics for any IDE.
Here is what I have done after starting my debugger in the CLI with a -d flag for debugging.
Listening for transport dt_socket at address: 5903
I added my server view
Created a new server
Defined it as a generic HTTP server
specified the port given in my
and then specified the directory where plugin-test is running out of.
I also put several breadboards into my connector plugin to try and catch it, but no luck.
So what piece to the puzzle am I missing in connecting these?