Closed pauloendoh closed 1 week ago
I have searched for the same possibility with this extension but have found nothing, I think it would be an excellent feature. I support the idea!. 👍🏼
I have searched for the same possibility with this extension but have found nothing, I think it would be an excellent feature. I support the idea!. 👍🏼
After a few searches, here's how to do it: There is no need to include it as a feature (though it'd be nice, I guess), you just need to follow the Auto Attach article in official VSCode site.
I've set it up with smart option for a NestJS project and works like a charm. 🔥
This anser was given following some stack overflow answers, I'll leave theme here:
Oh wow @mocadev1 , I didn't know about this. This is pretty useful. The sad thing is.. I don't want to run debugger every time 😅 sometimes I want to use the regular powershell because it's faster. It's a bummer that "--inspect" flag does not work for me for some reason 🥲 But thank you for sharing anyway!
@pauloendoh Sorry for the late reply. Regarding the issue with VS Code's API, you're right that currently there is no way to specify terminal profiles programmatically. This appears to be a limitation of the current API. Your best option is to wait for a future update from the VS Code team that may introduce this functionality. Let me know if you have any other questions!
@mocadev1 Thanks for your help.
Please describe feature/problem details and solution you'd like. My default profile is "powershell", but I always have a "JavaScript Debug Terminal" split open. I would like to open my VS Code and always have both of these terminal ready to go. If I have not missed anything, I didn't see anything related to opening other terminal profiles. It always opens the default terminal, in my case, "powershell".
Describe alternatives you've considered I tried searching for other terminal extensions for this feature, but none has it. Maybe it's not possible with the current VS Code API?