Esp32 wrover debug ftdi

Getting errors trying to debug. I attached platfromio.ini and debug console output. MAC 10.14.2 . Already removed the drivers per the FTDI application note.

[env:esp-wrover-kit]
platform = espressif32
board = esp-wrover-kit
framework = arduino
monitor_speed = 115200
upload_speed = 921600
;upload_port = /dev/cu.usbserial-1414301
upload_protocol = ftdi
debug_port = 127.0.0.1:3333
;upload_port = 10.0.0.35
build_flags = -w
lib_extra_dirs = ./lib
lib_deps = GitHub - zhouhan0126/WIFIMANAGER-ESP32: wifimanager-esp32
lib_deps = TFT_eSPI
debug_tool = ftdi
upload_protocol = esptool

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_speed = 921600
upload_port = /dev/cu.SLAB_USBtoUART
;upload_port = 10.0.0.35
build_flags = -w
lib_extra_dirs = ./lib
lib_deps = GitHub - zhouhan0126/WIFIMANAGER-ESP32: wifimanager-esp32
lib_deps = TFT_eSPI

Processing esp-wrover-kit (framework: arduino; platform: espressif32; board: esp-wrover-kit)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: Redirecting...
PLATFORM: Espressif 32 > Espressif ESP-WROVER-KIT
HARDWARE: ESP32 240MHz 320KB RAM (4MB Flash)
DEBUG: CURRENT(ftdi) ON-BOARD(ftdi) EXTERNAL(esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
LDF MODES: FINDER(chain) COMPATIBILITY(soft)
Collected 67 compatible libraries
Scanning dependencies…
Dependency Graph
|-- <TFT_eSPI> 1.3.9
| |-- 1.0
| |-- 1.0
| |-- 1.0
| | |-- 1.0
|-- 1.1.0
| |-- 1.0
|-- <ModbusIP_ESP8266> 1.0.0
| |-- 1.0.0
| |-- 1.0
|-- 1.0.0
|-- 2.7
|-- 1.0
|-- 1.0
|-- 1.0
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
|-- 1.0.3
| |-- 1.0
|--
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.0
| |-- 1.0
| |-- 1.0
|-- 1.0.0
|-- 1.0
|-- 1.2.0
| |-- 1.0
|-- <autoVersioning_master>
|-- 0.99.9 #e81e172
| |-- 1.1.0
| | |-- 1.0
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| | |-- 1.0
|-- 1.0
| |-- 1.0
|-- 3.0.2
|-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.0.0
Linking .pioenvs/esp-wrover-kit/firmware.elf
Building .pioenvs/esp-wrover-kit/firmware.bin
Retrieving maximum program size .pioenvs/esp-wrover-kit/firmware.elf
Checking size .pioenvs/esp-wrover-kit/firmware.elf
Memory Usage → Redirecting...
DATA: [== ] 16.0% (used 52276 bytes from 327680 bytes)
PROGRAM: [======== ] 75.3% (used 987358 bytes from 1310720 bytes)
========================= [SUCCESS] Took 10.53 seconds =========================

================================== [SUMMARY] ==================================
Environment esp-wrover-kit [SUCCESS]
Environment esp32dev [SKIP]
========================= [SUCCESS] Took 10.53 seconds =========================
undefinedOpen On-Chip Debugger 0.10.0-dev (2018-11-05-04:08)
Licensed under GNU GPL v2
For bug reports, read
OpenOCD: Bug Reporting
none separate
adapter speed: 20000 kHz
esp32 interrupt mask on
Info : ftdi: if you experience problems at higher adapter clocks, try the command “ftdi_tdo_sample_edge falling”
Info : clock speed 20000 kHz
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway…
Error: esp32.cpu0: IR capture error; saw 0x1f not 0x01
Warn : Bypassing JTAG setup events due to errors
Reading symbols from /Users/waltermarchewka/Documents/PlatformIO/Projects/HOMESTAT_V1/.pioenvs/esp-wrover-kit/firmware.elf…
done.
PlatformIO Unified Debugger > Redirecting...
PlatformIO: Initializing remote target…
Info : accepting ‘gdb’ connection on tcp/3333
Error: Target not examined yet

Error: Target not halted
Error: auto_probe failed
Error: Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use ‘gdb_memory_map disable’.
Error: attempted ‘gdb’ connection rejected
.pioinit:10: Error in sourced command file:
Remote communication error. Target disconnected.: Connection reset by peer.

Resolved after following

https://community.platformio.org/t/finally-working-esp32-debugging-on-a-mac-with-esp-wrover-kit/4721

Please remove this line.