Synchronising line numbers

I have some code which is processed by the Web server before being served. This means the served file will have extra lines inserted. Is there any way of telling WebStorm that a particular bit of code is at a certain line number in the source?

3 comments
Comment actions Permalink

Yes - you need to get source maps produced by your server. WebStorm uses source maps to map source files to generated ones

0
Comment actions Permalink

Can you point me at documentation for how to do that, please?

0

Please sign in to leave a comment.