+49 (30) 467086-20 service@microtool.de

Call debug mode

To check if the written code works or if you want to know why the function doesn’t work, you can activate the debug mode. In the context menu of a package, select the configured command of the extension function and press the Shift key at the same time.

Then you can make further settings:

If necessary, set up the extension server locally (on your client computer) and follow the step-by-step instructions. In Visual Studio Code, you can set a breakpoint (F9) to the function in the index.js file and then use the View/CommandPalette command in the main menu to execute the Debug:Attach to Node Process command. Then select the appropriate debugging process:

Now you can start the extension function with OK and the execution stops at the breakpoint.