Skip to content

Commit

Permalink
Create startup file to permit debugging from extensions repo in Visua…
Browse files Browse the repository at this point in the history
…l Studio. (Azure#541)
  • Loading branch information
tjprescott authored Feb 27, 2019
1 parent 5a2cb83 commit 704752a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 4 additions & 1 deletion azure-cli-extensions.pyproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{884fe35d-da8a-4cd2-8206-7cb961bf8fdc}</ProjectGuid>
<ProjectHome />
<StartupFile />
<StartupFile>scripts\run_az.py</StartupFile>
<SearchPath />
<WorkingDirectory>.</WorkingDirectory>
<OutputPath>.</OutputPath>
Expand Down Expand Up @@ -33,6 +33,9 @@
<Compile Include="scripts\refdoc\cligroup\__init__.py" />
<Compile Include="scripts\refdoc\conf.py" />
<Compile Include="scripts\refdoc\generate.py" />
<Compile Include="scripts\run_az.py">
<SubType>Code</SubType>
</Compile>
<Compile Include="src\aem\azext_aem\custom.py" />
<Compile Include="src\aem\azext_aem\tests\latest\test_aem_commands.py" />
<Compile Include="src\aem\azext_aem\tests\latest\__init__.py" />
Expand Down
10 changes: 10 additions & 0 deletions scripts/run_az.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

import sys

from azure.cli import __main__ as cli_main

sys.exit(cli_main(sys.argv))

0 comments on commit 704752a

Please sign in to comment.