Configuring openocd debugger

Hi,
I am trying to configure openocd debugger for atmelsam adafruit_feather_m0 board for using with cheap JLink-like interface.
Installed package tool-openocd.
Configured platformio.ini

[env:adafruit_feather_m0]
platform = atmelsam
board = adafruit_feather_m0
framework = arduino
debug_tool = custom
debug_server = openocd -f /usr/share/openocd/scripts/board/atmel_samd21_xplained_pro.cfg -f /usr/share/openocd/scripts/interface/jlink.cfg

but when run “pio debug” get error:

PlatformIO Plus (https://pioplus.com) v0.14.1
Error: Traceback (most recent call last):
File “main.py”, line 128, in main.main
File “/home/mark/.platformio/penv/local/lib/python2.7/site-packages/click/core.py”, line 700, in call
return self.main(*args, **kwargs)
File “/home/mark/.platformio/penv/local/lib/python2.7/site-packages/click/core.py”, line 680, in main
rv = self.invoke(ctx)
File “/home/mark/.platformio/penv/local/lib/python2.7/site-packages/click/core.py”, line 1027, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/mark/.platformio/penv/local/lib/python2.7/site-packages/click/core.py”, line 873, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/mark/.platformio/penv/local/lib/python2.7/site-packages/click/core.py”, line 508, in invoke
return callback(*args, **kwargs)
File “/home/mark/.platformio/penv/local/lib/python2.7/site-packages/click/decorators.py”, line 16, in new_func
return f(get_current_context(), *args, **kwargs)
File “cmd_debug.py”, line 61, in cmd_debug.cli
File “cmd_debug.py”, line 66, in cmd_debug.cli
File “cmd_debug.py”, line 233, in cmd_debug.validate_debug_options
AttributeError: ‘PlatformBoardConfig’ object has no attribute ‘get_debug_tool_name’

Please advise.

Sorry, this issue was fixed a few days ago. Nevertheless, I recommend to use

[env:adafruit_feather_m0]
platform = atmelsam
board = adafruit_feather_m0
framework = arduino
debug_tool = jlink