;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\210\303\304\305\306\307DD\310\311\312\313\314&\210\303\315\305\306\316DD\317\311\312\313\320&\207" [require dap-mode dap-utils custom-declare-variable dap-chrome-debug-path funcall function #[0 "\301\302\"\207" [dap-utils-extension-path expand-file-name "vscode/msjsdiag.debugger-for-chrome"] 3] "The path to chrome vscode extension." :group dap-chrome :type string dap-chrome-debug-program #[0 "\301\302\303\"D\207" [dap-chrome-debug-path "node" f-join "extension/out/src/chromeDebug.js"] 4] "The path to the chrome debugger." (repeat string)] 8) #@133 Downloading msjsdiag.debugger-for-chrome to path specified. With prefix, FORCED to redownload the extension. (fn &optional FORCED) (defalias 'dap-chrome-setup #[256 "\211?\205\301!?\205\302\303\304\305$\210\306\307\310\"\207" [dap-chrome-debug-path file-exists-p dap-utils-get-vscode-extension "msjsdiag" "debugger-for-chrome" nil message "%s: Downloading done!" "dap-chrome"] 6 (#$ . 675) "P"]) (byte-code "\301!\204 \302\303\304\305\304$\210\301\207" [dap-chrome-debug-path file-exists-p message "%s: %s debug extension are not set. You can download it with M-x %s-setup" "dap-chrome" "msjsdiag.debugger-for-chrome"] 5) #@55 Populate CONF with the required arguments. (fn CONF) (defalias 'dap-chrome--populate-start-file-args #[257 "\302\211\211\303\304#\305#\306\307\302\211\303\304#\305#\306\"\206\310 !#\262\311\307\312\"\211\313\267\202s\302\211\314\307\314\"\206=\315\316\317\320##\321\307\302\314\307\n\314\"\206Q\315\316\317\320##\321\"\206Y\322 #\202t\302\323\307\323\"\206o\324\325\326\327 \320$#\202t\262\312\"\207" [dap-chrome-debug-program default-directory plist-put :type "chrome" :dap-server-path :cwd plist-get expand-file-name dap--plist-delete :mode #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 purecopy t data ("url" 44 "file" 93)) :url read-string "Browse url: " "http://localhost:4200" t :webRoot lsp-workspace-root :file read-file-name "Select the file to open in the browser:" nil buffer-file-name] 14 (#$ . 1312)]) (byte-code "\300\301\302\"\210\303\304\305\301\306\307\310\311\312\313\314\311\315\316\317\304\257\"\210\303\320\305\301\310\311\306\321\312\313\322\311\323\311\317\320\257\"\210\324\325!\207" [dap-register-debug-provider "chrome" dap-chrome--populate-start-file-args dap-register-debug-template "Chrome Browse File" :type :mode "file" :cwd nil :request "launch" :file :reAttach t :name "Chrome Browse URL" "url" :webRoot :url provide dap-chrome] 16)