{\ttfamily async}/{\ttfamily await} syntax is currently accessible via typescript if you compile using {\ttfamily -\/-\/target ES2015} or above.\hypertarget{md_sfcode_node_modules_protractor_exampleTypescript_asyncAwait_README_autotoc_md22622}{}\doxysection{Debugging with $<$tt$>$async$<$/tt$>$/$<$tt$>$await$<$/tt$>$}\label{md_sfcode_node_modules_protractor_exampleTypescript_asyncAwait_README_autotoc_md22622}
Disabling the promise manager will break Protractor\textquotesingle{}s debugging and {\ttfamily browser.\+pause()}. However, because your tests won\textquotesingle{}t be using the promise manager, you can debug them using standard Node debugging tools. For example, you can use the Chrome inspector to debug the test in this directory (protractor/example\+Typescript) with {\ttfamily npm run debug}. You should see something like


\begin{DoxyCode}{0}
\DoxyCodeLine{Debugger listening on port 9229.}
\DoxyCodeLine{Warning: This is an experimental feature and could change at any time.}
\DoxyCodeLine{To start debugging, open the following URL in Chrome:}
\DoxyCodeLine{    chrome-\/devtools://devtools/bundled/inspector.html?experiments=true\&v8only=true\&ws=127.0.0.1:9229/f48502b0-\/76a3-\/4659-\/92d1-\/bef07a222859 }

\end{DoxyCode}


Open that URL in chrome, and you\textquotesingle{}ll get an inspector that can be used to debug your test. Instead of browser.\+pause, you can add {\ttfamily debugger} to create a breakpoint. Note that sourcemaps don\textquotesingle{}t work in the inspector in Node v6, but do work in Node v7 (due to \href{https://github.com/nodejs/node/issues/8369}{\texttt{ https\+://github.\+com/nodejs/node/issues/8369}}).

More detail about how to use \href{/docs/debugging.md\#disabled-control-flow}{\texttt{ chrome inspector}}\hypertarget{md_sfcode_node_modules_protractor_exampleTypescript_asyncAwait_README_autotoc_md22623}{}\doxysection{More Examples}\label{md_sfcode_node_modules_protractor_exampleTypescript_asyncAwait_README_autotoc_md22623}
More examples can be found under \href{/spec/ts}{\texttt{ {\ttfamily /spec/ts/}}}. 