typescript - Firebug does not display my JavaScript files -


i building web application angularjs en typescript in vs2012. these typescript files compiled javascript files , send client using bundles (all options turned off, i'm sending files individually).

in firebug html view can see javascript files, in scripts tab, typescript files visible. missing configuration here display javascript files? can add mime type serve typescript files, loose debugging powers.

most reason: using source maps.

when use source maps, browser able show source code relates transpiled javascript code.

you can switch source maps on , off compiler setting.

tsc --sourcemap app.ts 

update

i have tested out , definitely source maps.

if update compiler settings (or typescript -> debugging -> source maps setting in visual studio project) , delete .map files, you'll see javascript in firefox.

it down individual preferences - seeing actual source can useful.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -