vscode-azurefunctions icon indicating copy to clipboard operation
vscode-azurefunctions copied to clipboard

Clarify the specific file that need to change for these settings

Open cicorias opened this issue 2 years ago • 1 comments

can the wiki page be updated to be more specific as to which "files" these modifications go?

https://github.com/microsoft/vscode-azurefunctions/wiki/Remote-Debug-Java-functions

eg. "settings.json", "local.settings.json" ?

cicorias avatar Aug 19 '22 15:08 cicorias

@cicorias Thanks for your feedback and sorry for the confuse. When you start remote debugging for Java Azure Functions in VSCode, we will update the configuration of your remote FunctionApp (will not modify your local files), which includes

  • Set use32BitWorkerProcess to false
  • Set webSocketsEnabled to true
  • Update related application settings
    • Set JAVA_OPTS to -Djava.net.preferIPv4Stack=true -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=127.0.0.1:8898
    • Set HTTP_PLATFORM_DEBUG_PORT to 8898

Flanker32 avatar Sep 23 '22 03:09 Flanker32

I changed the wording on the Wiki page to explicitly explain that the changes are automatic and nothing is required from the user.

nturinski avatar Nov 09 '22 19:11 nturinski