You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importsysimportrunpyimportosbase_path=os.path.dirname(__file__)
os.chdir(base_path)
args='python -m tango run config.jsonnet -i components -w ../workspace'args=args.split()
ifargs[0] =='python':
"""pop up the first in the args"""args.pop(0)
ifargs[0] =='-m':
"""pop up the first in the args"""args.pop(0)
fun=runpy.run_moduleelse:
fun=runpy.run_pathsys.argv.extend(args[1:])
fun(args[0], run_name='__main__')
Then you can just click the Debug the Python file button to debug your project while viewing the debug.py file.
debug.py
.Then you can just click the
Debug the Python file
button to debug your project while viewing thedebug.py
file.Reference
The text was updated successfully, but these errors were encountered: