<commit_before>#!/usr/bin/python
# Debug stub for launching Python debug session inside LLDB
import sys
import subprocess

args = ['*'] + sys.argv[3:]
script = [
  "import sys, runpy, __main__",
  "sys.orig_main = __main__",
  "sys.argv=['%s']" % "','".join(args),
  "runpy.run_module('ptvsd', alter_sys=True, run_name='__main__')"
]
command = ['lldb-6.0', '-b', '-O', 'script ' + '; '.join(script)]
subprocess.call(command)<commit_msg>Make python debugging work with latest Python extension.<commit_after>#!/usr/bin/python
# Debug stub for launching Python debug session inside LLDB
import sys
import subprocess

args = sys.argv[1:]
script = [
  "import sys,runpy,__main__",
  "sys.orig_main = __main__",
  "sys.argv=['%s']" % "','".join(args),
  "runpy.run_path('%s', run_name='__main__')" % sys.argv[1]
]
command = ['lldb-6.0', '-b', '-O', 'script ' + '; '.join(script)]
subprocess.call(command)
{'fraction_non_alphanumeric': 0.20489977728285078, 'fraction_numerical': 0.0077951002227171495, 'mean_word_length': 5.115646258503402, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1516507', 'n_tokens_mistral': 343, 'n_tokens_neox': 334, 'n_words': 74}