[storage][sample]fix sample debug in launch.json#7030
[storage][sample]fix sample debug in launch.json#7030ljian3377 wants to merge 1 commit intoAzure:masterfrom
Conversation
|
@willmtemple
rather than relying on prep-samples to change the sample files every time. |
|
Currently we rely on the package The reason the call to As a quick fix, there should be a way to invoke node with a little shim program that imports the sample we want and runs its main function, and then we should be able to debug that. Something like this:
I'll spend some time looking in to this. |
|
@willmtemple Are there any updates on this? If not, can we create an issue to track the required work? |
|
Close as our debug conf is changed in #10145. |
The debug config for "Debug Typescript Samples" is broken by PR #6496.
azure-sdk-for-js/sdk/storage/storage-blob/.vscode/launch.json
npm build:ts-samplescommand is removed.I haven't figured out the perfect fix for the
preLaunchTasksincebuild:prep-sampleswill delete the main function of each individual sample file.