'vs code debugging has the wrong line numbers

I have a source file that starts with PHP, then html and JavaScript. When is debug the program, the Chrome developer tools does not show the PHP code. It only shows html and JavaScript. If I place a break point in the developer tools, the program breaks at that location. vs code shows it stopping 20 lines sooner. The php portion of the program is 122 lines. If I place a breakpoint in vs code, then the dev tools stop at the wrong location. How do I correct this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source