But what if you want to place breakpoint in code when you actually write the code? This is much easier when you write your own code, no need to locate the code line twice (in editor and in debugger), it is persistent and more clean.
You can even place conditional breakpoints:
if (x==5) breakpoint;
The mentioned breakpoint will stop the debugger only if x can be equalized to 5.