Skip to content

How to debug ImageGlass v9 on VS 2022? #1740

Answered by d2phap
siblount asked this question in Q&A
Discussion options

You must be logged in to vote

You need to

  • Open Terminal, navigate to the folder \ImageGlass\Source\Components\ImageGlass.Settings\WebUI\
  • Run command npm i to install JavaScript dependencies
  • Run command npm start to start watching and compiling js files
  • Open VS 2022, click on menu Build > Rebuild Solution, it will copy all js files to the output folder
  • Press F5 to start debugging the C# code, you should see the Web UI there.

To enable debugging Web UI:

  • In igconfig.json file, set EnableDebug to true then launch IG
  • Open any Web form, press Ctrl+Shift+I to open DevTool

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by siblount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants