replace deprecated method, add debug task in live reload tasks