alexkli opened a new issue #74:
URL: https://github.com/apache/openwhisk-wskdebug/issues/74


   ### Problem
   
   The new VS code debugger recently released (?) no longer sets 
`--inspect-brk=XXXX` for the debug port which `wskdebug` can intercept, but 
instead sets a `NODE_OPTIONS` with a custom `--require` that loads a (large) VS 
code javascript file into the process which apparently sets up debugging 
internally. This leads to the `wskdebug` node process itself being debugged, 
not the actual action on the container.
   
   ### Links
   
   * new debugger https://github.com/microsoft/vscode-js-debug
   * [workaround from another bug with the new 
debugger](https://github.com/microsoft/vscode/issues/102035#issuecomment-656801666)
   
   ### Workaround
   
   Disable the new debugger in VS Code by setting this in the user settings 
json:
   
   ```
   "debug.javascript.usePreview": false
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to