Skip to content

Cannot debug TypeScript applications in Visual Studio 2013/2015 when --inlineSourceMap and --inlineSources set #4360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Davidhanson90 opened this issue Aug 19, 2015 · 4 comments
Assignees
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@Davidhanson90
Copy link

1.) There appears to be no way to set the flags (inlineSourceMap ,inlineSources ) in visual studio 2013 with the 1.5 TypeScript extension installed. Is this a known bug?

2.) As a result of the above I have a pre-build event which runs this.

tsc.exe" build.ts --out app.debug.js --inlineSourceMap --inlineSources --diagnostics --target es5

However, while I can debug the TS source in both chrome and IE11, visual studio will no longer break on breakpoints.

@mhegazy
Copy link
Contributor

mhegazy commented Aug 19, 2015

@sheetalkamat, the VS debug extension does not support inline soruce maps, is this correct?

@mhegazy mhegazy added the Bug A bug in TypeScript label Aug 19, 2015
@mhegazy mhegazy added this to the TypeScript 1.8 milestone Sep 18, 2015
@danquirk
Copy link
Member

I assume from the status here that the issue also affects VS2015?

@mhegazy
Copy link
Contributor

mhegazy commented Sep 21, 2015

Correct. title updated.

@mhegazy mhegazy changed the title Cannot debug TypeScript applications in Visual Studio 2013 when --inlineSourceMap and --inlineSources set Cannot debug TypeScript applications in Visual Studio 2013/2015 when --inlineSourceMap and --inlineSources set Sep 21, 2015
@mhegazy mhegazy modified the milestones: TypeScript 2.0, TypeScript 1.7 Oct 6, 2015
@sheetalkamat
Copy link
Member

I have updated our debug extension to support inline source map and inline sources.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

4 participants