doc: add debugging JS backend source map flags (#10460)

pull/10464/head
Andreas Heissenberger 2021-06-15 03:43:51 +02:00 committed by GitHub
parent bdc8586ddd
commit f922fc2a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -4013,10 +4013,11 @@ native backend (flag: `-b native`).
### Javascript Backend ### Javascript Backend
There is currently no support for source maps for Javascript output, To debug the generated Javascript output you can active source maps:
created by the JS Backend (flag: `-b js`). `v -b js -sourcemap hello.v -o hello.js`
For all supported options check the latest help:
`v help build-js`
## Conditional compilation ## Conditional compilation