pnp / sp-dev-fx-vs-extension

Visual Studio extension work around SPFx together with community
MIT License
56 stars 25 forks source link

Question: How to debug SPFx Projects created using this extension in Visual Studio 2017? #31

Closed jaiswati closed 6 years ago

jaiswati commented 6 years ago

Hi

Question: How to debug SPFx Projects created using this extension in Visual Studio 2017?

Best Regards, Swati

eshupps commented 6 years ago

Debug the same way you would any Node-based solution in Visual Studio. See the following link for suggestions:

[https://stackoverflow.com/questions/34211004/how-can-i-debug-gulp-tasks-using-node-tools-for-visual-studio]https://stackoverflow.com/questions/34211004/how-can-i-debug-gulp-tasks-using-node-tools-for-visual-studio

Alter the paths and references accordingly for the way in which the Yeoman generator scaffolds the SPFx project.

pschaeflein commented 6 years ago

I would also add that you are actually debugging javascript in the browser. Using Visual Studio is optional for that, as most browsers have tools to aid in debugging.

pschaeflein commented 6 years ago

Closed due to inactivity.