I have started doing PhD 3 months ago and I still don't have that much progress. What I found is that I spend more time on learning about web development, which I can choose not to do, and this will make me focus more on my PhD and I'm sure I will do better. However, the problem is that web development is like an addiction for me.
Web development is not like doing something else (it requires learning stuff so my mind will do a lot of hard work) and when I do that and come to do my research work in PhD I feel bored.
Now I decided to stop doing web development and focusing on PhD but how can I guarantee not to come back to that in 2 or 3 days? I tried that one month ago and I found myself coming back to web development and not focusing that much on PhD.
Any ideas or suggestion on getting rid of this habit?