Open ghost opened 7 years ago
Michael,
Thanks for the feedback!
Clearly, it is possible for Visual Studio to launch a browser and attach a debugger. We need to research how to make that possible. It is complicated by the fact that the browser is being launched by node via the gulp task, not Visual Studio. The gulpfile.js that is part of the framework is not very descriptive, rather it calls into some function defined in one of the many files in the node_modules/@microsoft folder. :(
Since the SPFx code is actually run in the browser, you may find it easier to use the browser developer tools for debugging rather than the IDE.
Category
[x ] Question [ ] Bug [x] Enhancement
Desired Behavior
Is it possible to enable all known debugging features from Visual Studio?
Observed Behavior
After creating a new project using this extension, pressing F5 only starts 'gulp serve' and the local workbench starts inside the default browser. But no possible breakpoints will be reached.
In comparison: Using VS Code with 'Debugger for Chrome' Extension you can use client side debugging, at least.
Thanks Michael