Open RehanSaeed opened 5 years ago
cc @metoly @AngelosP I know the blog post had instructions for the launch.json file in VS Code, but are there similar instructions for launchsettings.json ?
I am not aware of a way to do that yet. I know we have plans to do something in this space very soon.
Hi, I can start the httprepl from visual studio on F5 (I followed the above mentioned blog), however, is there a way how to automatically run a script after the httprepl starts?
@el-peregrino There is a way, but in VS it is limited to just one script regardless of which project you're working on. In the step where you set up httprepl as a "browser", you can put run "c:\path\to\script.txt"
in the Arguments field and that will run automatically.
@tlmii Thanks a lot. I was quite near to it. I can live with the limitation for now.
I think this is a great idea, but we want to do better than this and just have it light up when you have it installed. As in, if you have the HttpRepl installed, it just "becomes" a browse target. This is the ideal scenario we'd like to unlock, and we have some work items on it.
cc @sayedihashimi @timheuer
What magic incantation do I need to add to the launchSettings.json file to add the HTTP REPL as an option to launch the app? I'd prefer this because it's not a manual thing that we have to do in Visual Studio, plus some developers might be using VS Code. I initially tried:
However, this starts the REPL correctly but not the site itself. Is there a way to do both?