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

Does theia support python remote debug,how to configure? #4411

Open
113xiaoji opened this issue Feb 23, 2019 · 4 comments
Open

Does theia support python remote debug,how to configure? #4411

113xiaoji opened this issue Feb 23, 2019 · 4 comments
Labels
python issues related to the python language / extension question user / developer questions

Comments

@113xiaoji
Copy link

I know vscode support python remote debug based on ptvsd , does theia support python remote debug?How to do that?Thank you @akosyakov @svenefftinge @benoitf

@kittaakos kittaakos added question user / developer questions python issues related to the python language / extension labels Feb 25, 2019
@paul-marechal
Copy link
Member

I am not really sure what the state of Python debugging is at, but you can take a look at the following thread, it seems like progress is being made:
https://spectrum.chat/theia/general/python-debuging~28800106-340a-468d-93a6-28700aaaa80d

@113xiaoji
Copy link
Author

@marechal-p Thank for your answer, I introduce my state. I want to load python extension in theia docker images, i put
python-2019.1.0.vsix in /default-theia-plugins but it show an error
image
I saw the issue #3771 and issue /~https://github.com/theia-ide/theia/wiki/Testing-VS-Code-extensions does anything progress? Thank you very much! @akosyakov @svenefftinge @benoitf

@akosyakov
Copy link
Member

@113xiaoji Have not looked at it in a while. Please check logs if there are some issues for which we don't have bugs yet please file. Looking into them also very welcomed! 🙃

@113xiaoji
Copy link
Author

@akosyakov I download the python extension source code, add some logs, and compile it.I put .vsix file to theia docker container.When i start the theia image I figured out the error is "this.debugService.onDidReceiveDebugSessionCustomEvent is not a function", i suppose the theia do not support this api?
I read the python extension source code, the error is at this place
this.disposables.push(this.debugService.onDidReceiveDebugSessionCustomEvent(e => { this.eventHandlers.forEach(handler => handler.handleCustomEvent ? handler.handleCustomEvent(e).ignoreErrors() : undefined); }));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python issues related to the python language / extension question user / developer questions
Projects
None yet
Development

No branches or pull requests

4 participants