-
Notifications
You must be signed in to change notification settings - Fork 451
Enable Python debug port #521
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
Comments
@ahmelsayed - I am working on updating the functions host to parse languageWorker.{language}.arguments instead of specifically looking for woker.{language}.Debug. This will allow CLI to pass other commandline options as well. |
as mentioned on email, this is the syntax that vscode needs to pass in # for node
func ... --language-worker -- "--inspect=<port>"
# for java
func ... --language-worker -- "<port>"
# for python
func ... --language-worker -- "<port>" The CLI will have the following mapping: {
node: "languageWorkers:node:arguments={languageWorker}", // in this example {languageWorker} is "--inspect=<port>"
java: "languageWorkers:java:debug={languageWorker}", // in this example {languageWorker} is "<port>"
python: "languageWorkers:python:debug={languageWorker}" // in this example {languageWorker} is "<port>"
} |
I have this PR for this change #546 Please let me know if the mapping above is correct and I'll merge it |
@asavaritayal please make sure to follow up with vscode to pass the new parameters starting with beta.30 |
@jdneo - Please see sample above for setting the debug port for java |
@pragnagopa Thanks for the information. So |
For VS Code to use /cc @nturinski @fiveisprime
The text was updated successfully, but these errors were encountered: