P403n1x87 / austin-vscode

Austin extension for Visual Studio Code
MIT License
21 stars 4 forks source link

Feature request: Integrate Austin with python debugging functions in vscode extension #67

Open rwarren opened 5 months ago

rwarren commented 5 months ago

Description of feature request

For debugging larger python programs (that aren't just one-off executions) it would be excellent if Austin integrated with the vscode debugger and you could step over a function and have an Austin flamegraph profile after the function execution is done.

A command like "Austin: Step Over" would be a good API. "Austin: Step Out" would be nice as well. Or even "Austin: Run until next breakpoint".

If these were non-invasive enough, I would consider replacing the native debugger calls with these.

P403n1x87 commented 5 months ago

@rwarren this is a great idea. To implement something like this however I think we would have to implement a full debugger, and then add Austin on top of it. Then we would have to make a dedicated debugger adapter for VS Code. Maybe a shortcut could be to fork the existing Python debugger and add Austin profiling to it.