provegard / ncdbg

A debugger for Nashorn that uses Chrome DevTools as frontend
BSD 3-Clause "New" or "Revised" License
31 stars 5 forks source link

Source map support #23

Closed provegard closed 7 years ago

provegard commented 7 years ago

Challenges:

provegard commented 7 years ago

Nashorn understands sourceURL and uses it as source name. This means that we cannot read the script source using the source name, because we might read e.g. CoffeeScript code instead of JS code.