Debug using vscode?

I am trying to figure out how the debugger works and followed this post:

everything works… except only for the output .js file, not the source .hx file. So is there anyway to run debug on the source file?
Any help or points are appreciated

Did you make sure to a) compile with the -debug flag (which generates source maps) and b) enable source maps in Chrome?