-
Notifications
You must be signed in to change notification settings - Fork 27
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
Configless debug #557
base: main
Are you sure you want to change the base?
Configless debug #557
Conversation
If the changes appear safe, you can manually trigger the pipeline by commenting |
], | ||
"outFiles": [ | ||
"${workspaceFolder}/out/**/*.js", | ||
], | ||
"preLaunchTask": "tasks: watch-tests" | ||
}, | ||
"preLaunchTask": "tasks: watch-tests" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file seems like it might have formatting issues.
context.subscriptions.push( | ||
createFileSystemWatcher(new RelativePattern(debugAdapterEndpointDir, '**/*')).onDidCreate((uri) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to dispose both the watcher and the event, here only the event is being disposed.
{ | ||
type: 'python', | ||
request: 'attach', | ||
name: 'Attach to Python', | ||
port: clientPort, | ||
host: 'localhost', | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should use the connect
field, instead of host
and port
directly here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can make this whole thing async
.
support debugging with no config required