Hello,
today I successfully tested the first JavaScript based control add-in with AL on Dynamics 365.
The implementation of my existing add-ins works without any problems - GOOD WORK!! :)
But is there a possibility to debug the control add-in directly in VS Code?
If I try to set a breakpoint inside my js files there appears a warning message "file is not part of the current workspace".
It is possible to debug the control add-in js files in VS Code?
At the moment, I only can debug in browsers.
Thank you!
This is already possible using VSCode chrome debugger.
launch.json, add a new configuration for attaching to Chrome:{
"type": "chrome",
"request": "attach",
"name": "Attach to Chrome",
"port": 9222,
"webRoot": "${workspaceRoot}"
}

See attached sample project.
ControlAddIn.zip
JS breakpoint when clicking a button in the control add-in:

Most helpful comment
This is already possible using VSCode chrome debugger.
launch.json, add a new configuration for attaching to Chrome:See attached sample project.
ControlAddIn.zip
JS breakpoint when clicking a button in the control add-in:
