Replace dev with debug