Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote debugging of Function apps for java #1956

Closed
foramkumar-parekh opened this issue Mar 5, 2020 · 1 comment
Closed

remote debugging of Function apps for java #1956

foramkumar-parekh opened this issue Mar 5, 2020 · 1 comment
Labels

Comments

@foramkumar-parekh
Copy link

Does this occur consistently?
Repro steps:

  1. Go to Azure function apps extension
  2. Right-click on the function app and select Start Remote Debugging

Action: azureFunctions.startRemoteDebug
Error type: Error
Error Message: Azure Remote Debugging is currently only supported for Node.js Function Apps running on Linux App Service plans. Consumption plans are not supported.

Version: 0.21.0
OS: win32
OS Release: 10.0.17763
Product: Visual Studio Code
Product Version: 1.41.1
Language: en

Call Stack
Object.getRemoteDebugLanguage extension.bundle.js:526:105986
extension.bundle.js:526:105633extension.bundle.js:526:105633
fulfilled extension.bundle.js:526:104861
o extension.bundle.js:1:255993
extension.bundle.js:1:256490extension.bundle.js:1:256490
processTicksAndRejections task_queues.js:89:5

I was able to remote debug the java function apps with the same configurations few months back. Not sure what changed. But point is how can I do it now.

@ejizba
Copy link
Contributor

ejizba commented Mar 5, 2020

There's a separate setting for Java now. Set this to true: azureFunctions.enableJavaRemoteDebugging

See #1458 for more info

@ejizba ejizba closed this as completed Mar 5, 2020
@ejizba ejizba added the question label Mar 5, 2020
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants