![]() ![]() Open helloweb.ts in the editor and click the left gutter to add a breakpoint (it will be displayed as a red circle). If you run that configuration, your browser will launch with your web page. The Run and Debug view configuration dropdown will now show the new configuration Launch Edge against localhost. In-lined source maps (a source map where the content is stored as a data URL instead of a separate file) are also supported, although in-lined source is not yet supported.įor a simple example of source maps in action, see the TypeScript tutorial, which shows debugging a simple "Hello World" Node.js application using the following tsconfig.json and VS Code default Node.js debugging configuration. To generate source maps for your TypeScript files, compile with the -sourcemap option or set the sourceMap property in the tsconfig.json file to true. ![]() TypeScript debugging supports JavaScript source maps. Visual Studio Code supports TypeScript debugging through its built-in Node.js debugger and Edge and Chrome debugger. Configure IntelliSense for cross-compiling. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |