Skip to content
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

Step through TS editor code using source map #63

Closed
jscsharp opened this issue Jul 14, 2016 · 1 comment
Closed

Step through TS editor code using source map #63

jscsharp opened this issue Jul 14, 2016 · 1 comment

Comments

@jscsharp
Copy link

jscsharp commented Jul 14, 2016

Currently, when you install the monaco-editor, the source map files are already been generated.
In source map we have ref file, like:
"file:///home/aeschli/workspaces/vscode/src/vs/base/common/diff/diffChange.ts",

What is the steps to add TS source files and able to debug and step through the TS code in browser?

Thanks

@jscsharp
Copy link
Author

The instruction is here:
https://github.com/Microsoft/vscode/tree/master/build/monaco

I was not able to build it on Windows 10 machine , did not have time to look at the issues, but it took a few minutes to build it on Linux.
Just use a Monaco sample and use "Out-monaco-edior-core" folder from build and start debugging the ts files.

@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant