mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Remove the html based debugger tools and add a readme with information about available debug tools (#2299)
JerryScript-DCO-1.0-Signed-off-by: Peter Marki marpeter@inf.u-szeged.hu
This commit is contained in:
parent
b750a9e0b2
commit
51e193de57
5
jerry-debugger/README.md
Normal file
5
jerry-debugger/README.md
Normal file
@ -0,0 +1,5 @@
|
||||
# Available jerryscript debugger tools
|
||||
|
||||
JerryScript console debugger client ( jerry-client-ws.py )
|
||||
Iotjscode ( https://github.com/Samsung/iotjscode )
|
||||
Jerryscript debugger Chrome webtool ( https://github.com/jerryscript-project/jerryscript-debugger-ts )
|
||||
@ -1,32 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# Copyright JS Foundation and other contributors, http://js.foundation
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import argparse
|
||||
import os
|
||||
import webbrowser
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description="JerryScript debugger client in HTML")
|
||||
parser.add_argument("address", action="store", nargs="?", default="localhost:5001",
|
||||
help="specify a unique network address for connection (default: %(default)s)")
|
||||
args = parser.parse_args()
|
||||
|
||||
webbrowser.open_new("file://%s?address=%s" % (os.path.abspath("jerry-client-ws.html"), args.address))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user