When using nRF8001 with an Arduino board, Atmel Studio is a good free tool to use for development of your firmware. The following video shows a procedure in Atmel Studio in order to enable debugging of Arduino code. It was created with Atmel Studio 6.1 and Visual Micro (Arduino plugin for Atmel Studio)