Thanks for the link provided in your comments, now it works, here is the config in the php.ini
[xdebug]
xdebug.remote_enable = on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.idekey="netbeans-xdebug"
xdebug.remote_autostart=on
xdebug.profiler_enable = on
xdebug.profiler_enable_trigger = on
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "d:/wamp/tmp"
this line must be included: "xdebug.remote_autostart=on", previously I did not have it, nor the xdebug.idekey, however the xdebug.idekey is not important, it can be different than the session id in the Options.